Home » Search

About properties

1-10 of 200Refresh
Manual
82

JPA Entity Fields

is explicitly defined. Property Access When an entity is being stored to the database data is extracted from ... , but accessing fields indirectly as properties using get and set methods is also supported. To use property ... property convention. Property access is enabled by moving all the JPA annotations from the fields
Manual
82

JPA Persistence Unit

> <properties> <property name="javax.persistence.jdbc.url" value="objectdb://localhost/my.odb"/> <property name="javax.persistence.jdbc.user" value="admin"/> <property name="javax.persistence.jdbc.password" value="admin"/> properties>
JPA Doc
52

createEntityManagerFactory(persistenceUnitName, properties)

(   String persistenceUnitName,   Map properties ) Create and return an EntityManagerFactory for the named persistence unit using the given properties. Parameters: persistenceUnitName - the name of the persistence unit properties - Additional properties to use when creating the factory. The values
JPA Doc
52

find(entityClass, primaryKey, lockMode, properties)

,   LockModeType lockMode,   Map properties ) Find by primary key and lock, using the specified properties. Search for an entity of the specified class and primary key and lock it with respect ... -level rollback If a vendor-specific property or hint is not recognized, it is silently ignored
JPA Doc
52

find(entityClass, primaryKey, lockMode, properties)

,   LockModeType lockMode,   Map properties ) Find by primary key and lock, using the specified properties. Search for an entity of the specified class and primary key and lock it with respect ... only statement-level rollback If a vendor-specific property or hint is not recognized, it is silently
JPA Doc
52

find(entityClass, primaryKey, properties)

 properties ) Find by primary key, using the specified properties. Search for an entity ... context, it is returned from there. If a vendor-specific property or hint is not recognized, it is silently ignored. Parameters: entityClass - entity class primaryKey - primary key properties - standard
JPA Doc
52

lock(entity, lockMode, properties)

 properties ) Lock an entity instance that is contained in the persistence context with the specified lock mode type and with specified properties. If a pessimistic lock mode type ... only statement-level rollback If a vendor-specific property or hint is not recognized
JPA Doc
52

PersistenceContext.properties

Annotation Element javax.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 are ignored. Default value: {} Since: JPA 1.0
JPA Doc
52

refresh(entity, lockMode, properties)

,   Map properties ) Refresh the state of the instance from the database, overwriting ... properties. If the lock mode type is pessimistic and the entity instance is found ... only statement-level rollback If a vendor-specific property or hint is not recognized, it is silently
JPA Doc
52

refresh(entity, properties)

properties ) Refresh the state of the instance from the database, using the specified properties, and overwriting changes made to the entity, if any. If a vendor-specific property or hint is not recognized, it is silently ignored. Parameters: entity - entity instance properties - standard and vendor