Home » Search

About version

101-110 of 200Refresh
JPA Doc
3

getVersion(type)

> type ) Return the attribute that corresponds to the version attribute of the entity or mapped superclass. Parameters: type - the type of the represented version attribute Returns: version attribute Throws: IllegalArgumentException - if version attribute of the given type is not present in the identifiable type Since: JPA 2.0
JDO Doc
3

javax.jdo.spi.PersistenceCapable

PersistenceManager, object identity, and version if it has one. In the Reference Implementation, the JDO Enhancer ... jdoGetVersion() Return the version of this instance. Return the version of this instance. Returns: the version Since: JDO 2.0 boolean jdoIsDeleted() Tests whether this object has been deleted. Tests
JPA Doc
3

find(entityClass, primaryKey, lockMode)

context and the lock mode type is pessimistic and the entity has a version attribute, the persistence provider must perform optimistic version checks when obtaining the database lock. If these checks fail ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking
JPA Doc
3

find(entityClass, primaryKey, lockMode, properties)

and the entity has a version attribute, the persistence provider must perform optimistic version ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking fails
JPA Doc
3

find(entityClass, primaryKey, lockMode, properties)

is pessimistic and the entity has a version attribute, the persistence provider must perform optimistic version checks when obtaining the database lock. If these checks fail, the OptimisticLockException ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic
JDO Doc
3

javax.jdo.JDOHelper

, boolean validate) Object getVersion(Object pc) Return the version of the instance. Return the version of the instance. Parameters: pc - the instance Returns: the version of the instance Since: JDO 2.0
JDO Doc
3

javax.jdo.spi.StateManager

representing the version of the calling instance. Return the object representing the version ... representing the version of the calling instance Since: JDO 2.0 boolean isDeleted( PersistenceCapable pc
JPA Doc
3

javax.persistence.metamodel.SingularAttribute

.0 boolean isVersion() Is the attribute a version attribute. Is the attribute a version attribute. Returns: boolean indicating whether the attribute is a version attribute Since: JPA 2.0
JPA Doc
3

javax.persistence.spi.PersistenceUnitInfo

getPersistenceXMLSchemaVersion() Returns the schema version of the persistence.xml file. Returns the schema version of the persistence.xml file. Returns: persistence.xml schema version Since: JPA 2.0 Properties
JPA Doc
3

lock(entity, lockMode)

. If a pessimistic lock mode type is specified and the entity contains a version attribute, the persistence provider must also perform optimistic version checks when obtaining the database lock ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking