net.java.ao
Annotation Type OneToMany


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface OneToMany

Author:
Daniel Spiewak

Optional Element Summary
 java.lang.String where
          A String clause allowing developer-specified additional conditions to be imposed on the relationship.
 

where

public abstract java.lang.String where

A String clause allowing developer-specified additional conditions to be imposed on the relationship. The String must be a proper SQL WHERE clause:

"deleted = FALSE"

One must be extremely careful with this sort of thing though because sometimes (as is the case with the above sample), the unparameterized code may not execute as expected against every database (due to differences in typing and value handling). Thus, in all but non-trivial cases, defined implementations should be used.

Default:
""