ObjectDB Database Search

101-150 of 200 results

jakarta.persistence.metamodel.IdentifiableType.getDeclaredId(Class)

attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented ... of the given type is not declared in the identifiable type or if the identifiable type has an id class. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Predicate.getExpressions()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Predicate List getExpressions() Return the top-level conjuncts or disjuncts of the predicate. Returns empty list if there are no top-level conjuncts or disjuncts of the predicate. Modifications to the list do not affect the query

jakarta.persistence.criteria.Subquery.getContainingQuery()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery CommonAbstractCriteria getContainingQuery() Return the query of which this is a subquery. This may be a CriteriaQuery, CriteriaUpdate, CriteriaDelete, or a Subquery. Returns: the enclosing query or subquery. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.Subquery.getParent()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery AbstractQuery getParent() Return the query of which this is a subquery. This must be a CriteriaQuery or a Subquery. Returns: the enclosing query or subquery. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Join.getAttribute()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Join Attribute getAttribute() Return the metamodel attribute representing the join target, if any, or null if the target of the join is an entity type. Returns: metamodel attribute or null. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQuery.getSingleResult()

: IllegalStateException - if called for a Jakarta Persistence query language UPDATE or DELETE statement ... and there is no transaction or the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.ListJoin.index()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.ListJoin Expression index() Create an expression that corresponds to the index of the object in the referenced association or element collection. This method must only be invoked upon an object that represents an association or

jakarta.persistence.StoredProcedureQuery.getSingleResultOrNull()

was registered with the query. Returns: the result or null if the next item is not a result set or

jakarta.persistence.TableGenerator.name

Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String name (optional) A unique generator name that can be referenced by one or more classes to be the generator for id values. Defaults to the name of the entity when the annotation occurs on an entity class or primary key

jakarta.persistence.PessimisticLockException

may be thrown as part of an API call, a flush or at commit time. The current transaction, if one is active

jakarta.persistence.PostPersist

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PostPersist Implemented Interfaces: Annotation Target: Method Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener

jakarta.persistence.PostLoad

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PostLoad Implemented Interfaces: Annotation Target: Method Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener

jakarta.persistence.PersistenceUnitTransactionType

is done via JTA, or it may be a resource-local entity manager, where transaction management is performed

jakarta.persistence.Inheritance

that is the root of the entity class hierarchy. If the Inheritance annotation is not specified, or

jakarta.persistence.JoinColumns

. Since: Jakarta Persistence (JPA) 1.0 ForeignKey foreignKey (Optional) Used to specify or control

jakarta.persistence.LockTimeoutException

transaction rollback. This exception may be thrown as part of an API call, at, flush or at commit time

jakarta.persistence.NamedEntityGraph

fetched when an operation which retrieves an instance or instances of the root entity is executed

jakarta.persistence.NamedNativeQueries

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.NamedNativeQueries Implemented Interfaces: Annotation Target: Type Declares multiple native SQL named queries. Query names are scoped to the persistence unit. The NamedNativeQueries annotation can be applied to an entity or mapped

jakarta.persistence.MapKeyJoinColumns

foreignKey (Optional) Used to specify or control the generation of a foreign key constraint when table

jakarta.persistence.MappedSuperclass

such subclass using the AttributeOverride and AssociationOverride annotations or corresponding XML elements

jakarta.persistence.ColumnResult

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ColumnResult Implemented Interfaces: Annotation Used in conjunction with the SqlResultSetMapping , NamedNativeQuery , or ConstructorResult annotation to map a column of the SELECT list of a SQL query. The name element references

jakarta.persistence.DiscriminatorColumn

for the root of an entity class hierarchy or subhierarchy in which a different inheritance strategy

jakarta.persistence.DiscriminatorValue

and the discriminator column are only specified for the root of an entity class hierarchy or subhierarchy in

jakarta.persistence.EntityTransaction

, in seconds. This is a hint. Parameters: timeout - the timeout, in seconds, or null to indicate

jakarta.persistence.ExcludeSuperclassListeners

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ExcludeSuperclassListeners Implemented Interfaces: Annotation Target: Type Specifies that the invocation of superclass listeners is to be excluded for the entity class ( or mapped superclass) and its subclasses. Since: Jakarta

jakarta.persistence.ExcludeDefaultListeners

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ExcludeDefaultListeners Implemented Interfaces: Annotation Target: Type Specifies that the invocation of default listeners is to be excluded for the entity class ( or mapped superclass) and its subclasses. Since: Jakarta Persistence (JPA

jakarta.persistence.PersistenceConfiguration.managedClass(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceConfiguration managedClass (    Class managedClass ) Add a managed class (an Entity , Embeddable , MappedSuperclass , or Converter ) to the configuration. Parameters: managedClass - the managed

jakarta.persistence.AttributeOverride.name

Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeOverride String name (Required) The name of the property whose mapping is being overridden if property-based access is being used, or the name of the field if field-based access is used. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.AttributeOverride.column

Jakarta Persistence (JPA) Method in jakarta.persistence.AttributeOverride Column column (Required) The column that is being mapped to the persistent attribute. The mapping type will remain the same as is defined in the embeddable class or mapped superclass. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceContext.properties

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext PersistenceProperty[] properties (Optional) Properties for the container or persistence provider. Vendor specific properties may be included in this set of properties. Properties that are not recognized by a vendor

jakarta.persistence.PersistenceContexts.value

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContexts PersistenceContext[] value (Required) One or more PersistenceContext annotations. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceContext.type

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext PersistenceContextType type (Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used. Default: PersistenceContextType.TRANSACTION Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceContext.synchronization

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext SynchronizationType synchronization (Optional) Specifies whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context must be explicitly joined

jakarta.persistence.PersistenceUnitUtil.load(Object,String)

with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.PersistenceUnitUtil.load(E,Attribute)

persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.PersistenceUnitUtil.load(Object)

or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.Persistence.PERSISTENCE_PROVIDER

.spi.PersistenceProvider" or remove PERSISTENCE_PROVIDER field and also update TCK signature tests. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnitUtil.isLoaded(Object,String)

Returns: false if entity's state has not been loaded or if the attribute state has not been loaded, else true. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnitUtil.isLoaded(E,Attribute)

if entity's state has not been loaded or if the attribute state has not been loaded, else true. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.criteria.AbstractQuery.getGroupRestriction()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery Predicate getGroupRestriction() Return the predicate that corresponds to the restriction(s) over the grouping items, or null if no restrictions have been specified. Returns: having clause predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.AbstractQuery.isDistinct()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery boolean isDistinct() Return whether duplicate query results must be eliminated or retained. Returns: boolean indicating whether duplicate query results must be eliminated. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CollectionJoin.on(Expression)

. Parameters: restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.AbstractQuery.distinct(boolean)

- boolean value specifying whether duplicate results must be eliminated from the query result or

jakarta.persistence.criteria.AbstractQuery.getRoots()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery Set getRoots() Return the query roots. These are the roots that are defined for the CriteriaQuery or Subquery itself, including any subquery roots defined as a result of correlation. Returns an empty set if no roots

jakarta.persistence.criteria.AbstractQuery.getSelection()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery Selection getSelection() Return the selection of the query, or null if no selection has been set. Returns: selection item. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CommonAbstractCriteria.getRestriction()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CommonAbstractCriteria Predicate getRestriction() Return the predicate that corresponds to the where clause restriction(s), or null if no restrictions have been specified. Returns: where clause predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Metamodel.managedType(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.Metamodel ManagedType managedType (    Class cls ) Return the metamodel managed type representing the entity, mapped superclass, or embeddable class. Parameters: cls - the type of the represented managed class Returns

jakarta.persistence.criteria.CollectionJoin.on(Predicate...)

. Parameters: restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CriteriaBuilder.tuple(Selection...)

: IllegalArgumentException - if an argument is a tuple- or array-valued selection item. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.SingularAttribute.isId()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.SingularAttribute boolean isId() Is the attribute an id attribute? This method returns true if the attribute is a simple id , an embedded id , or an attribute of an id class . Returns: boolean indicating whether the attribute is an id. Since: Jakarta Persistence (JPA) 1.0