About enum

api-jpa

ValidationMode.AUTO

If a Bean Validation provider is present in the environment, the persistence provider must perform the automatic validation of entities.(Enum Constant of javax.persistence.ValidationMode)

 
api-jpa

InheritanceType.JOINED

A strategy in which fields that are specific to a subclass are mapped to a separate table than the fields that are common to the parent class, and a join is performed to instantiate the subclass.(Enum Constant of javax.persistence.InheritanceType)

 
api-jpa

DiscriminatorType.INTEGER

Integer as the discriminator type.(Enum Constant of javax.persistence.DiscriminatorType)

 
api-jpa

Type.PersistenceType.ENTITY

Entity(Enum Constant of javax.persistence.metamodel.Type.PersistenceType)

 
api-jpa

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 with a value of PessimisticLockScope.EXTENDED.(Enum Constant of javax.persistence.PessimisticLockScope)

 
api-jpa

SharedCacheMode.DISABLE_SELECTIVE

Caching is enabled for all entities except those for which Cacheable(false) is specified.(Enum Constant of javax.persistence.SharedCacheMode)

 
api-jpa

PersistenceUnitTransactionType.JTA

JTA entity managers will be created.(Enum Constant of javax.persistence.spi.PersistenceUnitTransactionType)

 
api-jpa

PluralAttribute.CollectionType.MAP

Map-valued attribute(Enum Constant of javax.persistence.metamodel.PluralAttribute.CollectionType)

 
api-jpa

Bindable.BindableType.SINGULAR_ATTRIBUTE

Single-valued attribute type(Enum Constant of javax.persistence.metamodel.Bindable.BindableType)

 
api-jpa

Attribute.PersistentAttributeType.MANY_TO_MANY

Many-to-many association(Enum Constant of javax.persistence.metamodel.Attribute.PersistentAttributeType)