|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface ManyToMany
| Required Element Summary | |
|---|---|
java.lang.Class<? extends Entity> |
value
|
| Optional Element Summary | |
|---|---|
java.lang.String |
where
A String clause allowing developer-specified additional conditions to be imposed on the relationship. |
| Element Detail |
|---|
public abstract java.lang.Class<? extends Entity> value
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||