Top Description Methods
org.hibernate.annotations

public @Interface NotFound

extends Annotation
Annotations
@Target:METHOD, FIELD
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

Action to do when an element is not found on a association.
Author
Emmanuel Bernard

Method Summary

Modifier and TypeMethod and Description
public NotFoundAction
action()

The action to perform when an associated entity is not found.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

actionback to summary
public NotFoundAction action()

The action to perform when an associated entity is not found. By default an exception is thrown.