ObjectDB Database Search
101-150 of 200 resultsAnnotationRef jakarta.persistence.Inheritance JPA Annotation Inheritance Target: TYPE Implemented Interfaces: Annotation Specifies the inheritance mapping strategy for the entity class hierarchy which descends from the annotated entity class. This annotation must be applied to the entity class that is the root of the entity class hierarchy | |
AnnotationRef jakarta.persistence.Embedded JPA Annotation Embedded Target: METHOD, FIELD Implemented Interfaces: Annotation Declares ... . The embeddable class must be annotated as Embeddable . The AttributeOverride , AttributeOverrides , AssociationOverride , and AssociationOverrides annotations may be used to override mappings declared or defaulted | |
AnnotationRef jakarta.persistence.MapKeyTemporal JPA Annotation MapKeyTemporal Target: METHOD, FIELD Implemented Interfaces: Annotation This annotation must be specified for persistent map keys of type java.util.Date and java.util.Calendar . It may only be specified for map keys of these types. The MapKeyTemporal annotation can be applied | |
AnnotationRef jakarta.persistence.Id JPA Annotation Id Target: METHOD, FIELD Implemented Interfaces: Annotation Identifies the primary key of an entity. The field or property to which the Id annotation is applied ... annotation is specified, the primary key column name is assumed to be the name of the primary key | |
AnnotationRef jakarta.persistence.PostLoad JPA Annotation PostLoad Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity ... article explains how to use PostLoad . This annotation is a marker annotation (with no attributes). | |
AnnotationRef jakarta.persistence.NamedStoredProcedureQueries JPA Annotation NamedStoredProcedureQueries Target: TYPE Implemented Interfaces: Annotation ... . The NamedStoredProcedureQueries annotation can be applied to an entity or mapped superclass. See Also: NamedStoredProcedureQuery Since: JPA 2.1 Public Annotation Attributes NamedStoredProcedureQuery [] value | |
AnnotationRef jakarta.persistence.PersistenceUnits JPA Annotation PersistenceUnits Target: TYPE Implemented Interfaces: Annotation Declares one or more PersistenceUnit annotations . Since: JPA 1.0 Public Annotation Attributes PersistenceUnit [] value default null (Required) One or more PersistenceUnit annotations . Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.NamedQueries JPA Annotation NamedQueries Target: TYPE Implemented Interfaces: Annotation Declares multiple ... . The NamedQueries annotation can be applied to an entity or mapped superclass. See Also: NamedQuery Since: JPA 1.0 The JPA Named Queries article explains how to use NamedQueries . Public Annotation | |
AnnotationRef jakarta.persistence.EntityResult JPA Annotation EntityResult Implemented Interfaces: Annotation Used in conjunction with the SqlResultSetMapping or NamedNativeQuery annotation to map the SELECT clause of a SQL query to an entity result. If this annotation is used, the SQL statement should select all the columns that are mapped | |
AnnotationRef jakarta.persistence.OrderBy JPA Annotation OrderBy Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies ... with the dot notation is the name of the respective embedded field or property. The OrderBy annotation ... to specify the attribute or attributes that determine the ordering. The OrderBy annotation is not used | |
AnnotationRef jakarta.persistence.MapKeyJoinColumn JPA Annotation MapKeyJoinColumn Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies ... annotation is specified, a single join column is assumed and the default values apply. Example 1: {@snippet : See Also: ForeignKey Since: JPA 2.0 Public Annotation Attributes String columnDefinition | |
AnnotationRef jakarta.persistence.PersistenceContexts JPA Annotation PersistenceContexts Target: TYPE Implemented Interfaces: Annotation Declares one or more PersistenceContext annotations . It is used to express a dependency on container-managed entity manager persistence contexts. See Also: PersistenceContext Since: JPA 1.0 Public Annotation | |
AnnotationRef jakarta.persistence.EntityListeners JPA Annotation EntityListeners Target: TYPE Implemented Interfaces: Annotation Specifies the callback listener classes to be used for an entity or mapped superclass. This annotation may be applied ... methods annotated PrePersist , PreUpdate , PreRemove , PostPersist , PostUpdate , and/or PostRemove | |
AnnotationRef jakarta.persistence.ColumnResult JPA Annotation ColumnResult Implemented Interfaces: Annotation Used in conjunction with the SqlResultSetMapping , NamedNativeQuery , or ConstructorResult annotation to map a column of the SELECT ... this annotation in the metadata. Example: {@snippet : Query q = em.createNativeQuery( "SELECT o.id AS | |
AnnotationRef jakarta.persistence.SqlResultSetMappings JPA Annotation SqlResultSetMappings Target: TYPE Implemented Interfaces: Annotation Used to define one or more SqlResultSetMapping annotations . Since: JPA 1.0 Public Annotation Attributes SqlResultSetMapping [] value default null One or more SqlResultSetMapping annotations . Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.NamedNativeQueries JPA Annotation NamedNativeQueries Target: TYPE Implemented Interfaces: Annotation Declares ... annotation can be applied to an entity or mapped superclass. See Also: NamedNativeQuery Since: JPA 1.0 Public Annotation Attributes NamedNativeQuery [] value default null (Required) Array of NamedNativeQuery annotations . Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.ConstructorResult JPA Annotation ConstructorResult Implemented Interfaces: Annotation Used in conjunction with the SqlResultSetMapping or NamedNativeQuery annotation to map the SELECT clause of a SQL query ... using the columns element of the ConstructorResult annotation in the same order as that of the argument | |
AnnotationRef jakarta.persistence.PrePersist JPA Annotation PrePersist Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity ... . Since: JPA 1.0 The JPA Lifecycle Events article explains how to use PrePersist . This annotation is a marker annotation (with no attributes). | |
AnnotationRef jakarta.persistence.PostUpdate JPA Annotation PostUpdate Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity ... article explains how to use PostUpdate . This annotation is a marker annotation (with no attributes). | |
AnnotationRef jakarta.persistence.PostRemove JPA Annotation PostRemove Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity ... article explains how to use PostRemove . This annotation is a marker annotation (with no attributes). | |
AnnotationRef jakarta.persistence.metamodel.StaticMetamodel JPA Annotation StaticMetamodel Target: ElementType.TYPE Implemented Interfaces: Annotation The StaticMetamodel annotation specifies that the class is a metamodel class that represents the entity ... Annotation Attributes Class value default null Class being modelled by the annotated class. Since: JPA 2.0 | |
AnnotationRef jakarta.persistence.PostPersist JPA Annotation PostPersist Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity ... PostPersist . This annotation is a marker annotation (with no attributes). | |
AnnotationRef jakarta.persistence.PrimaryKeyJoinColumn JPA Annotation PrimaryKeyJoinColumn Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation ... of its superclass; it is used within a SecondaryTable annotation to join a secondary table ... entity is used as a foreign key to the referenced entity. If no PrimaryKeyJoinColumn annotation | |
AnnotationRef jakarta.persistence.PreUpdate JPA Annotation PreUpdate Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity ... article explains how to use PreUpdate . This annotation is a marker annotation (with no attributes). | |
AnnotationRef jakarta.persistence.PreRemove JPA Annotation PreRemove Target: METHOD Implemented Interfaces: Annotation Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity ... article explains how to use PreRemove . This annotation is a marker annotation (with no attributes). | |
AnnotationRef jakarta.persistence.ElementCollection JPA Annotation ElementCollection Target: METHOD, FIELD Implemented Interfaces: Annotation Declares ... by means of a collection table. The CollectionTable annotation specifies a mapping to a database table. Example: {@snippet : See Also: CollectionTable Since: JPA 2.0 Public Annotation Attributes | |
AnnotationAttrRef jakarta.persistence.CollectionTable.joinColumns JPA Annotation Attribute in jakarta.persistence.CollectionTable JoinColumn [] joinColumns default ... annotation must be specified for each join column using the JoinColumns annotation . In this case, both the name and referencedColumnName elements must be specified by each such JoinColumn annotation . Since: JPA 2.0 | |
AnnotationRef jakarta.persistence.AssociationOverride JPA Annotation AssociationOverride Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation ... MappedSuperclass AttributeOverride Since: JPA 1.0 Public Annotation Attributes ForeignKey foreignKey ... are specified, the behavior is undefined. If no foreign key annotation element is specified in either location | |
AnnotationRef jakarta.persistence.MapKey JPA Annotation MapKey Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the map ... associated with it. The MapKeyClass annotation is not used when MapKey is specified and vice versa. Example 1: {@snippet : Since: JPA 1.0 Public Annotation Attributes String name default "" (Optional | |
AnnotationRef jakarta.persistence.MapKeyColumn JPA Annotation MapKeyColumn Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies ... field or property; " _ "; " KEY ". Example: {@snippet : Since: JPA 2.0 Public Annotation Attributes ... is a unique key. This is a shortcut for the UniqueConstraint annotation at the table level and is useful | |
AnnotationRef jakarta.persistence.Cacheable JPA Annotation Cacheable Target: TYPE Implemented Interfaces: Annotation Specifies ... of the Cacheable annotation is inherited by subclasses; it can be overridden by specifying Cacheable ... . Since: JPA 2.0 The Shared (L2) Entity Cache article explains how to use Cacheable . Public Annotation | |
AnnotationRef jakarta.persistence.SequenceGenerators JPA Annotation SequenceGenerators Target: TYPE, METHOD, FIELD, PACKAGE Implemented Interfaces: Annotation Used to group SequenceGenerator annotations . See Also: SequenceGenerator Since: JPA 2.2 Public Annotation Attributes SequenceGenerator [] value default null Since: JPA 2.2 | |
AnnotationRef jakarta.persistence.QueryHint JPA Annotation QueryHint Implemented Interfaces: Annotation Used to supply a query property or hint to the NamedQuery or NamedNativeQuery annotation . Vendor-specific hints that are not recognized by a provider are ignored. Since: JPA 1.0 Public Annotation Attributes String name default null Name | |
AnnotationRef jakarta.persistence.TableGenerators JPA Annotation TableGenerators Target: TYPE, METHOD, FIELD, PACKAGE Implemented Interfaces: Annotation Used to group TableGenerator annotations . See Also: TableGenerator Since: JPA 2.2 Public Annotation Attributes TableGenerator [] value default null Since: JPA 2.2 | |
AnnotationRef jakarta.persistence.Version JPA Annotation Version Target: METHOD, FIELD Implemented Interfaces: Annotation Declares the version field or property of an entity class, which is used to detect optimistic lock failures, ensuring ... explains how to use Version . This annotation is a marker annotation (with no attributes). | |
AnnotationRef jakarta.persistence.FieldResult JPA Annotation FieldResult Implemented Interfaces: Annotation Used in conjunction with the EntityResult annotation to map columns specified in the SELECT list of a SQL query to the properties or ... = { See Also: EntityResult SqlResultSetMapping Since: JPA 1.0 Public Annotation Attributes String column default null | |
PersistenceUnitInfo.getQualifierAnnotationNames() - JPA Method () Returns the fully-qualified class names of annotations annotated Qualifier . Corresponds to the qualifier element in persistence.xml . Return: the fully-qualified class names of the qualifier annotations , or an empty list if no qualifier annotations were explicitly specified Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.Converts JPA Annotation Converts Target: METHOD, FIELD, TYPE Implemented Interfaces: Annotation Used to group Convert annotations . Multiple converters must not be applied to the same basic attribute. See Also: Convert Since: JPA 2.1 Public Annotation Attributes Convert [] value default null The Convert mappings that are to be applied. Since: JPA 2.1 | |
AnnotationRef jakarta.persistence.DiscriminatorColumn JPA Annotation DiscriminatorColumn Target: TYPE Implemented Interfaces: Annotation Specifies ... which a different inheritance strategy is applied. If the DiscriminatorColumn annotation is missing ... DiscriminatorType Since: JPA 1.0 Public Annotation Attributes String columnDefinition default | |
AnnotationRef jakarta.persistence.ExcludeDefaultListeners JPA Annotation ExcludeDefaultListeners Target: TYPE Implemented Interfaces: Annotation Specifies that the invocation of default listeners is to be excluded for the entity class (or mapped superclass ... ExcludeDefaultListeners . This annotation is a marker annotation (with no attributes). | |
AnnotationRef jakarta.persistence.ExcludeSuperclassListeners JPA Annotation ExcludeSuperclassListeners Target: TYPE Implemented Interfaces: Annotation Specifies that the invocation of superclass listeners is to be excluded for the entity class (or mapped ... ExcludeSuperclassListeners . This annotation is a marker annotation (with no attributes). | |
AnnotationRef jakarta.persistence.NamedEntityGraphs JPA Annotation NamedEntityGraphs Target: TYPE Implemented Interfaces: Annotation Used to group NamedEntityGraph annotations . See Also: NamedEntityGraph Since: JPA 2.1 Public Annotation Attributes NamedEntityGraph [] value default null Since: JPA 2.1 | |
AnnotationAttrRef jakarta.persistence.DiscriminatorValue.value JPA Annotation Attribute in jakarta.persistence.DiscriminatorValue String value default null (Optional) The value that indicates that the row is an entity of the annotated entity type. If the DiscriminatorValue annotation is not specified and a discriminator column is used, a provider-specific | |
AnnotationRef jakarta.persistence.AssociationOverrides JPA Annotation AssociationOverrides Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation Used to override mappings of multiple relationship properties or fields. Example: {@snippet : See Also: AssociationOverride Since: JPA 1.0 Public Annotation Attributes AssociationOverride [] value | |
AnnotationRef jakarta.persistence.PersistenceUnit JPA Annotation PersistenceUnit Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation Expresses a dependency on an EntityManagerFactory and its associated persistence unit. Since: JPA 1.0 Public Annotation Attributes String name default "" (Optional) The name by which the entity manager | |
AnnotationRef jakarta.persistence.NamedQuery JPA Annotation NamedQuery Target: TYPE Implemented Interfaces: Annotation Declares a named query written in the Jakarta Persistence query language. Query names are scoped to the persistence unit ... article explains how to use NamedQuery . Public Annotation Attributes QueryHint [] hints default | |
AnnotationRef jakarta.persistence.PersistenceProperty JPA Annotation PersistenceProperty Implemented Interfaces: Annotation Describes a single container or persistence provider property. Used in PersistenceContext . Vendor specific properties ... 1.0 Public Annotation Attributes String name default null The name of the property Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.CheckConstraint JPA Annotation CheckConstraint Implemented Interfaces: Annotation Used to specify a SQL check constraint on a column or table when schema generation is in effect. See Also: Table.check () Column.check () Since: JPA 3.2 Public Annotation Attributes String constraint default null (Required | |
AnnotationRef jakarta.persistence.PersistenceContext JPA Annotation PersistenceContext Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation Expresses a dependency on a container-managed EntityManager and its associated persistence context. Since: JPA 1.0 Public Annotation Attributes String name default "" (Optional) The name by | |
AnnotationRef jakarta.persistence.SecondaryTables JPA Annotation SecondaryTables Target: TYPE Implemented Interfaces: Annotation Specifies multiple secondary tables for an entity. Example 1: Multiple secondary tables assuming primary key columns are named the same in all tables. {@snippet : Since: JPA 1.0 Public Annotation Attributes |