ObjectDB Database Search
51-100 of 200 resultsEnumRef jakarta.persistence.ValidationMode JPA Enum ValidationMode java.lang.Object ∟ java.lang.Enum ∟ jakarta. persistence .ValidationMode The validation mode to be used by the provider for the persistence unit. Since: JPA 2.0 Enum Constants AUTO If a Bean Validation provider is present in the environment, the persistence | |
AnnotationRef jakarta.persistence.Enumerated that a persistent property or field should be persisted as an enumerated type. This annotation is optional if the type of a persistent field or property is a Java enum type. The Enumerated annotation ... this annotation. If a persistent field or property of enum type has no explicit Enumerated annotation | |
InterfaceRef jakarta.persistence.PersistenceUtil JPA Interface PersistenceUtil Utility interface between the application and the persistence provider(s). The PersistenceUtil interface instance obtained from the Persistence class is used to determine the load state of an entity or entity attribute regardless of which persistence provider in | |
ClassRef jakarta.persistence.EntityNotFoundException.lang.Exception ∟ java.lang.RuntimeException ∟ jakarta. persistence .PersistenceException ∟ jakarta. persistence .EntityNotFoundException Thrown by the persistence provider when an entity ... the database. The current transaction, if one is active and the persistence context has been joined | |
AnnotationRef jakarta.persistence.PersistenceUnit Expresses a dependency on an EntityManagerFactory and its associated persistence unit. Since: JPA 1.0 ... is used. Since: JPA 1.0 String unitName default "" (Optional) The name of the persistence unit as defined in the persistence .xml file. If specified, the persistence unit for the entity manager | |
AnnotationAttrRef jakarta.persistence.PersistenceUnit.unitName JPA Annotation Attribute in jakarta. persistence .PersistenceUnit String unitName default "" (Optional) The name of the persistence unit as defined in the persistence .xml file. If specified, the persistence unit for the entity manager factory that is accessible in JNDI must have the same name. Since: JPA 1.0 | |
EnumRef jakarta.persistence.SharedCacheMode JPA Enum SharedCacheMode java.lang.Object ∟ java.lang.Enum ∟ jakarta. persistence .SharedCacheMode Specifies how the provider must use a second-level cache for the persistence unit. Corresponds to the value of the persistence .xml shared-cache-mode element, and returned as the result | |
AnnotationAttrRef jakarta.persistence.PersistenceContext.unitName JPA Annotation Attribute in jakarta. persistence .PersistenceContext String unitName default "" (Optional) The name of the persistence unit as defined in the persistence .xml file. If the unitName element is specified, the persistence unit for the entity manager that is accessible in JNDI must have the same name. Since: JPA 1.0 | |
EnumConstRef jakarta.persistence.PessimisticLockScope.NORMAL JPA Enum Constant in jakarta. 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 | |
InterfaceRef jakarta.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 ... : IllegalArgumentException - if not an entity See Also: jakarta. persistence .Entity.name Since: JPA 3.2 Set | |
ClassRef jakarta.persistence.LockTimeoutException JPA Exception LockTimeoutException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ jakarta. persistence .PersistenceException ∟ jakarta. persistence .LockTimeoutException Thrown by the persistence provider when a pessimistic | |
ClassRef jakarta.persistence.PessimisticLockException JPA Exception PessimisticLockException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ jakarta. persistence .PersistenceException ∟ jakarta. persistence .PessimisticLockException Thrown by the persistence provider | |
EnumRef jakarta.persistence.LockModeType JPA Enum LockModeType java.lang.Object ∟ java.lang.Enum ∟ jakarta. persistence ... version column. The persistence implementation is not required to support the use of optimistic lock modes ... of deadlock or update failure among concurrent updating transactions. The persistence implementation | |
AnnotationRef jakarta.persistence.Lob JPA Annotation Lob Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies that the annotated persistent property or field should be persisted as a large object to a database-native large ... may be either a binary or character type. The LOB type ( BLOB or CLOB ) is inferred from the type of the persistent | |
AnnotationRef jakarta.persistence.JoinTable = "ID")) This annotation may not be applied to a persistent field or property not annotated ... foreign key strategy is selected by the persistence provider. Since: JPA 2.1 Index [] indexes default ... strategy is selected by the persistence provider. Since: JPA 2.1 JoinColumn [] inverseJoinColumns default | |
ClassRef jakarta.persistence.OptimisticLockException JPA Exception OptimisticLockException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ jakarta. persistence .PersistenceException ∟ jakarta. persistence .OptimisticLockException Thrown by the persistence provider | |
AnnotationRef jakarta.persistence.MapKeyJoinColumn foreign key strategy is selected by the persistence provider. Since: JPA 2.1 boolean insertable default true (Optional) Whether the column is included in SQL INSERT statements generated by the persistence ... default true (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 2.0 | |
AnnotationAttrRef jakarta.persistence.OneToOne.fetch JPA Annotation Attribute in jakarta. persistence .OneToOne FetchType fetch default FetchType.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. If not specified, defaults to EAGER . Since: JPA 1.0 | |
ClassRef jakarta.persistence.NonUniqueResultException JPA Exception NonUniqueResultException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ jakarta. persistence .PersistenceException ∟ jakarta. persistence .NonUniqueResultException Thrown by the persistence provider when () or | |
AnnotationAttrRef jakarta.persistence.OneToMany.fetch JPA Annotation Attribute in jakarta. persistence .OneToMany FetchType fetch default FetchType.LAZY ... 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 runtime. Since: JPA 1.0 | |
AnnotationRef jakarta.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 ... ) The name of the persistent field or property of the associated entity that is used as the map key | |
AnnotationAttrRef jakarta.persistence.ManyToMany.fetch JPA Annotation Attribute in jakarta. persistence .ManyToMany FetchType fetch default FetchType.LAZY ... 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. If not specified, defaults to LAZY . Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.ManyToOne.fetch JPA Annotation Attribute in jakarta. persistence .ManyToOne FetchType fetch default FetchType.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. If not specified, defaults to EAGER . Since: JPA 1.0 | |
ClassRef jakarta.persistence.NoResultException JPA Exception NoResultException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ jakarta. persistence .PersistenceException ∟ jakarta. persistence .NoResultException Thrown by the persistence provider when () or () is executed | |
EnumRef jakarta.persistence.CascadeType JPA Enum CascadeType java.lang.Object ∟ java.lang.Enum ∟ jakarta. persistence ... cascade=ALL is equivalent to cascade={ PERSIST , MERGE, REMOVE, REFRESH, DETACH }. See Also: ManyToOne ... the plain operation Since: JPA 1.0 PERSIST Cascade the plain operation Since: JPA 1.0 REFRESH Cascade | |
InterfaceRef jakarta.persistence.AttributeConverter of the converter, an arbitrary Java type which may be used as the type of a persistent field or ... if the converter is automatically applied to persistent fields and properties of the target type. The Convert ... for use by the JDBC driver: i.e., persistence providers are not expected to do such type conversion | |
ClassRef jakarta.persistence.PersistenceException.Exception ∟ java.lang.RuntimeException ∟ jakarta. persistence .PersistenceException Thrown by the persistence provider when a problem occurs. All instances of PersistenceException ... , and QueryTimeoutException , cause the current transaction, if one is active and if the persistence context | |
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 | |
ClassRef jakarta.persistence.TransactionRequiredException JPA Exception TransactionRequiredException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ jakarta. persistence .PersistenceException ∟ jakarta. persistence .TransactionRequiredException Thrown by the persistence provider | |
AnnotationAttrRef jakarta.persistence.PersistenceContext.type JPA Annotation Attribute in jakarta. persistence .PersistenceContext PersistenceContextType type default PersistenceContextType.TRANSACTION (Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.PersistenceContext.synchronization JPA Annotation Attribute in jakarta. persistence .PersistenceContext SynchronizationType synchronization default SynchronizationType.SYNCHRONIZED (Optional) Specifies whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context | |
ClassRef jakarta.persistence.RollbackException JPA Exception RollbackException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ jakarta. persistence .PersistenceException ∟ jakarta. persistence .RollbackException Thrown by the persistence provider when () fails | |
AnnotationAttrRef jakarta.persistence.Basic.fetch JPA Annotation Attribute in jakarta. persistence .Basic FetchType fetch default FetchType.EAGER ... . 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. If not specified, defaults to EAGER . Since: JPA 1.0 | |
Persistence.generateSchema(persistenceUnitName,map) - JPA Static Method JPA Static Method in jakarta. 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 | |
ClassRef jakarta.persistence.QueryTimeoutException JPA Exception QueryTimeoutException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ jakarta. persistence .PersistenceException ∟ jakarta. persistence .QueryTimeoutException Thrown by the persistence provider when a query times | |
AnnotationRef jakarta.persistence.Column the column mapped by the annotated persistent property or field. If no Column annotation is explicitly ... is included in SQL INSERT statements generated by the persistence provider. Since: JPA 1.0 int length default ... (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.GeneratedValue. The persistence provider is only required to support the GeneratedValue for simple primary keys ... , then the persistence provider supplies a default id generator, of a type compatible with the value ... generation strategy that the persistence provider must use to generate the annotated entity primary key. Since: JPA 1.0 | |
EnumRef jakarta.persistence.FetchType JPA Enum FetchType java.lang.Object ∟ java.lang.Enum ∟ jakarta. 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 | |
AnnotationRef jakarta.persistence.JoinColumn specified, a default foreign key strategy is selected by the persistence provider. Since: JPA 2.1 ... generated by the persistence provider. Since: JPA 1.0 String name default "" (Optional) The name ... ) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.ElementCollection.fetch JPA Annotation Attribute in jakarta. persistence .ElementCollection FetchType fetch default ... . 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. If not specified, defaults to LAZY . Since: JPA 2.0 | |
InterfaceRef jakarta.persistence.metamodel.Type JPA Interface Type Type Parameters: - The type of the represented object or attribute An instance of the type Type represents a persistent object or attribute type. Since: JPA 2.0 Public Methods ... .PersistenceType getPersistenceType () Return the persistence type. Return: persistence type Since: JPA 2.0 | |
AnnotationRef jakarta.persistence.ManyToMany must be eagerly fetched. 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 | |
AnnotationRef jakarta.persistence.ElementCollection must be eagerly fetched. 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 | |
InterfaceRef jakarta.persistence.metamodel.SingularAttribute SingularAttribute represents persistent single-valued properties or fields. Since: JPA 2.0 Public ... ? Return: boolean indicating whether the attribute can be null See Also: jakarta. persistence .Basic | |
EnumConstRef jakarta.persistence.PessimisticLockScope.EXTENDED JPA Enum Constant in jakarta. persistence .PessimisticLockScope EXTENDED In addition to the locking behavior specified for NORMAL , element collections and relationships owned by the entity that are contained in join tables are locked if the property jakarta. persistence .lock.scope is specified | |
AnnotationRef jakarta.persistence.NamedQueries JPA Annotation NamedQueries Target: TYPE Implemented Interfaces: Annotation Declares multiple named Jakarta 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 | |
AnnotationAttrRef jakarta.persistence.AssociationOverride.foreignKey JPA Annotation Attribute in jakarta. 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 | |
AnnotationAttrRef jakarta.persistence.AssociationOverride.joinColumns JPA Annotation Attribute in jakarta. 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 | |
AnnotationAttrRef jakarta.persistence.NamedQuery.lockMode JPA Annotation Attribute in jakarta. persistence .NamedQuery LockModeType lockMode default LockModeType.NONE (Optional) The lock mode type to use in query execution. If a lockMode other than LockModeType.NONE is specified, the query must be executed in a transaction and the persistence context joined to the transaction. Since: JPA 2.0 | |
AnnotationAttrRef jakarta.persistence.JoinTable.foreignKey JPA Annotation Attribute in jakarta. persistence .JoinTable ForeignKey foreignKey default @ForeignKey(ConstraintMode.PROVIDER_DEFAULT) (Optional) Used to specify or control the generation of a foreign ... either location, a default foreign key strategy is selected by the persistence provider. Since: JPA 2.1 |