Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.annotations
Annotation Type AdditionalCriteria


@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.,



Since:
EclipseLink 2.2
Author:
Guy Pelletier




Required Element Summary
 java.lang.String value
          (Required) The JPQL fragment to use as the additional criteria.

 

Element Detail

value

public abstract java.lang.String value
(Required) The JPQL fragment to use as the additional criteria.

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.