|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface AdditionalCriteria
An additional criteria can be specified at the Entity or MappedSuperclass level. When specified at the mapped superclass level, it applies to all inheriting entities unless those entities define their own additional criteria, at which point the additional criteria from the mapped superclass is ignored.
The additional criteria supports any valid JPQL string and must use 'this' as an alias to form your additional criteria. E.G.,
Required Element Summary | |
---|---|
java.lang.String |
value (Required) The JPQL fragment to use as the additional criteria. |
Element Detail |
---|
public abstract java.lang.String value
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |