Internal Website Search
101-150 of 200 resultsjavax.persistence.PessimisticLockScope.NORMAL JPA Enum Constant in javax. persistence .PessimisticLockScope NORMAL This value defines the default behavior for pessimistic locking. The persistence provider must lock the database row(s) that correspond to the non-collection-valued persistent state of that instance. If a joined inheritance | |
javax.persistence.LockTimeoutException JPA Exception LockTimeoutException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ javax. persistence .PersistenceException ∟ javax. persistence .LockTimeoutException Thrown by the persistence provider when an pessimistic | |
javax.persistence.PessimisticLockException JPA Exception PessimisticLockException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ javax. persistence .PersistenceException ∟ javax. persistence .PessimisticLockException Thrown by the persistence provider | |
javax.persistence.Lob JPA Annotation Lob Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies that a persistent property or field should be persisted as a large object to a database-supported large object ... . The Lob type is inferred from the type of the persistent field or property, and except for string | |
javax.persistence.EntityManagerFactory for the persistence unit. When the application has finished using the entity manager factory, and/or ... () Return an instance of Metamodel interface for access to the metamodel of the persistence unit. Return ... methods for the persistence unit. Return: PersistenceUnitUtil interface Throws | |
javax.persistence.OptimisticLockException JPA Exception OptimisticLockException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ javax. persistence .PersistenceException ∟ javax. persistence .OptimisticLockException Thrown by the persistence provider when an optimistic | |
javax.persistence.OneToOne.fetch JPA Annotation Attribute in javax. persistence .OneToOne FetchType fetch default EAGER (Optional ... is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA 1.0 | |
javax.persistence.NonUniqueResultException JPA Exception NonUniqueResultException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ javax. persistence .PersistenceException ∟ javax. persistence .NonUniqueResultException Thrown by the persistence provider when Query | |
javax.persistence.OneToMany.fetch JPA Annotation Attribute in javax. persistence .OneToMany FetchType fetch default LAZY (Optional ... is a requirement on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA 1.0 | |
javax.persistence.MapKey key for associations of type java.util.Map when the map key is itself the primary key or a persistent field or property of the entity that is the value of the map. If a persistent field or property ... of the persistent field or property of the associated entity that is used as the map key. Default | |
javax.persistence.ManyToMany.fetch JPA Annotation Attribute in javax. persistence .ManyToMany FetchType fetch default LAZY (Optional ... is a requirement on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA 1.0 | |
javax.persistence.ManyToOne.fetch JPA Annotation Attribute in javax. persistence .ManyToOne FetchType fetch default EAGER (Optional ... is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA 1.0 | |
javax.persistence.NoResultException JPA Exception NoResultException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ javax. persistence .PersistenceException ∟ javax. persistence .NoResultException Thrown by the persistence provider when Query.getSingleResult() or | |
Persistence.generateSchema(persistenceUnitName,map) - JPA Static Method JPA Static Method in javax. persistence . Persistence void generateSchema ( String persistenceUnitName, Map map ) Create database schemas and/or tables and/or ... - the name of the persistence unit map - properties for schema generation; these may also contain | |
javax.persistence.TransactionRequiredException JPA Exception TransactionRequiredException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ javax. persistence .PersistenceException ∟ javax. persistence .TransactionRequiredException Thrown by the persistence provider | |
javax.persistence.Basic.fetch JPA Annotation Attribute in javax. persistence .Basic FetchType fetch default EAGER (Optional ... . The EAGER strategy is a requirement on the persistence provider runtime that the value must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. If not specified, defaults to EAGER . Since: JPA 1.0 | |
javax.persistence.QueryTimeoutException JPA Exception QueryTimeoutException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ javax. persistence .PersistenceException ∟ javax. persistence .QueryTimeoutException Thrown by the persistence provider when a query times | |
javax.persistence.Column the mapped column for a persistent property or field. If no Column annotation is specified, the default ... is included in SQL INSERT statements generated by the persistence provider. Since: JPA 1.0 int ... in SQL UPDATE statements generated by the persistence provider. Since: JPA 1.0 | |
javax.persistence.Enumerated JPA Annotation Enumerated Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies that a persistent property or field should be persisted as a enumerated type. The Enumerated annotation ... Since: JPA 1.0 The JPA Persistable Types article explains how to use Enumerated . Public Annotation | |
javax.persistence.FetchType JPA Enum FetchType java.lang.Object ∟ java.lang.Enum ∟ javax. persistence .FetchType ... on the persistence provider runtime that data must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime that data should be fetched lazily when it is first accessed | |
javax.persistence.Embeddable. Each of the persistent properties or fields of the embedded object is mapped to the database table for the entity. Note that the Transient annotation may be used to designate the non- persistent state ... String zip; protected String plusFour; } Since: JPA 1.0 The JPA Persistable Types article explains | |
javax.persistence.ElementCollection.fetch JPA Annotation Attribute in javax. persistence .ElementCollection FetchType fetch default LAZY ... is a requirement on the persistence provider runtime that the collection elements must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA 2.0 | |
javax.persistence.metamodel.Type JPA Interface Type Type Parameters: - The type of the represented object or attribute Instances of the type Type represent persistent object or attribute types. Since: JPA 2.0 Public Methods Class ... .PersistenceType getPersistenceType () Return the persistence type. Return: persistence type Since: JPA 2.0 | |
javax.persistence.ManyToMany should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider ... to the persistence provider runtime. Since: JPA 1.0 String mappedBy default "" The field that owns | |
javax.persistence.ElementCollection is a requirement on the persistence provider runtime that the collection elements must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA 2.0 Class targetClass default | |
javax.persistence.PessimisticLockScope.EXTENDED JPA Enum Constant in javax. persistence .PessimisticLockScope EXTENDED In addition to the behavior for PessimisticLockScope.NORMAL , element collections and relationships owned by the entity that are contained in join tables will be locked if the javax. persistence .lock.scope property is specified | |
javax.persistence.metamodel.Metamodel JPA Interface Metamodel Provides access to the metamodel of persistent entities in the persistence unit. Since: JPA 2.0 Public Methods EmbeddableType embeddable (Class cls) Return the metamodel embeddable type representing the embeddable class. Parameters: cls - the type of the represented | |
javax.persistence.NamedQueries JPA Annotation NamedQueries Target: TYPE Implemented Interfaces: Annotation Specifies multiple named Java Persistence query language queries. Query names are scoped to the persistence unit. The NamedQueries annotation can be applied to an entity or mapped superclass. See Also: NamedQuery | |
javax.persistence.AssociationOverride.foreignKey JPA Annotation Attribute in javax. persistence .AssociationOverride ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key ... , the persistence provider's default foreign key strategy will apply. Since: JPA 2.1 | |
javax.persistence.AssociationOverride.joinColumns JPA Annotation Attribute in javax. persistence .AssociationOverride JoinColumn [] joinColumns default {} The join column(s) being mapped to the persistent attribute(s). The joinColumns elements must be specified if a foreign key mapping is used in the overriding of the mapping of the relationship | |
javax.persistence.JoinTable.foreignKey JPA Annotation Attribute in javax. persistence .JoinTable ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint ... , the persistence provider's default foreign key strategy will apply. Since: JPA 2.1 | |
javax.persistence.JoinTable.inverseForeignKey JPA Annotation Attribute in javax. persistence .JoinTable ForeignKey inverseForeignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key ... either location, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1 | |
javax.persistence.NamedQuery.query JPA Annotation Attribute in javax. persistence .NamedQuery String query default null (Required) The query string in the Java Persistence query language. Since: JPA 1.0 | |
javax.persistence.PersistenceProperty JPA Annotation PersistenceProperty Implemented Interfaces: Annotation Describes a single container or persistence provider property. Used in PersistenceContext . Vendor specific properties may be included in the set of properties, and are passed to the persistence provider by the container | |
javax.persistence.metamodel.BasicType the persistence type. Return: persistence type Inherited from: Type Since: JPA 2.0 | |
javax.persistence.TableGenerator on the primary key field or property. The scope of the generator name is global to the persistence unit ... . Defaults to a name chosen by persistence provider. Since: JPA 1.0 UniqueConstraint | |
javax.persistence.JoinTable element is specified in either location, the persistence provider's default foreign key strategy ... either location, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1 JoinColumn | |
javax.persistence.JoinColumns.foreignKey JPA Annotation Attribute in javax. persistence .JoinColumns ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key constraint ... is specified in either location, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1 | |
javax.persistence.TableGenerator.table JPA Annotation Attribute in javax. persistence .TableGenerator String table default "" (Optional) Name of table that stores the generated id values. Defaults to a name chosen by persistence provider. Since: JPA 1.0 | |
javax.persistence.AssociationOverride, the persistence provider's default foreign key strategy will apply. Since: JPA 2.1 JoinColumn [] joinColumns default {} The join column(s) being mapped to the persistent attribute(s). The joinColumns elements | |
javax.persistence.MapKeyJoinColumn.updatable JPA Annotation Attribute in javax. persistence .MapKeyJoinColumn boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0 | |
javax.persistence.MapKeyJoinColumn.insertable JPA Annotation Attribute in javax. persistence .MapKeyJoinColumn boolean insertable default true (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Since: JPA 2.0 | |
javax.persistence.OneToOne. The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Since: JPA | |
javax.persistence.CollectionTable.foreignKey JPA Annotation Attribute in javax. persistence .CollectionTable ForeignKey foreignKey default @ForeignKey(PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign key ... , the persistence provider's default foreign key strategy will apply. Since: JPA 2.1 | |
javax.persistence.MapKeyColumn.updatable JPA Annotation Attribute in javax. persistence .MapKeyColumn boolean updatable default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0 | |
javax.persistence.metamodel.Attribute Attribute .PersistentAttributeType getPersistentAttributeType () Return the persistent attribute type for the attribute. Return: persistent attribute type Since: JPA 2.0 boolean isAssociation | |
javax.persistence.MapKeyColumn.insertable JPA Annotation Attribute in javax. persistence .MapKeyColumn boolean insertable default true (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Since: JPA 2.0 | |
javax.persistence.OneToMany must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy is a hint to the persistence provider | |
javax.jdo.annotations.Persistent.types JDO Annotation Attribute in javax.jdo.annotations. Persistent Class[] types default {} Types of the member. Used when the declared member type is a supertype of the actual type that is stored in the member. For example, the declared member type might be an interface type that must contain an object of a concrete type when used for persistence . Since: JDO 2.1 | |
javax.jdo.annotations.Persistent.table JDO Annotation Attribute in javax.jdo.annotations. Persistent String table default "" Table to use for persisting this member. Since: JDO 2.1 |