Package | Description |
---|---|
com.caucho.amber.ejb3 | |
com.caucho.amber.manager | |
com.caucho.env.jpa | |
javax.persistence |
Modifier and Type | Method and Description |
---|---|
LockModeType |
QueryImpl.getLockMode()
Gets the lock type.
|
Modifier and Type | Method and Description |
---|---|
Query |
QueryImpl.setLockMode(LockModeType lockMode)
Sets the lock type.
|
Modifier and Type | Method and Description |
---|---|
LockModeType |
QueryImpl.getLockMode()
Gets the lock type.
|
LockModeType |
AmberConnection.getLockMode(java.lang.Object entity) |
LockModeType |
EntityManagerProxy.getLockMode(java.lang.Object entity) |
LockModeType |
EntityManagerExtendedProxy.getLockMode(java.lang.Object entity) |
Modifier and Type | Method and Description |
---|---|
<T> T |
AmberConnection.find(java.lang.Class<T> entityCLass,
java.lang.Object primaryKey,
LockModeType lockMode) |
<T> T |
EntityManagerProxy.find(java.lang.Class<T> entityCLass,
java.lang.Object primaryKey,
LockModeType lockMode) |
<T> T |
EntityManagerExtendedProxy.find(java.lang.Class<T> entityCLass,
java.lang.Object primaryKey,
LockModeType lockMode) |
<T> T |
AmberConnection.find(java.lang.Class<T> entityCLass,
java.lang.Object primaryKey,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties) |
<T> T |
EntityManagerProxy.find(java.lang.Class<T> entityCLass,
java.lang.Object primaryKey,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties) |
<T> T |
EntityManagerExtendedProxy.find(java.lang.Class<T> entityCLass,
java.lang.Object primaryKey,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
AmberConnection.lock(java.lang.Object entity,
LockModeType lockMode)
Locks the object.
|
void |
EntityManagerProxy.lock(java.lang.Object entity,
LockModeType lockMode)
Locks the object.
|
void |
EntityManagerExtendedProxy.lock(java.lang.Object entity,
LockModeType lockMode)
Locks the object.
|
void |
AmberConnection.lock(java.lang.Object entity,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
EntityManagerProxy.lock(java.lang.Object entity,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
EntityManagerExtendedProxy.lock(java.lang.Object entity,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
AmberConnection.refresh(java.lang.Object entity,
LockModeType lockMode) |
void |
EntityManagerProxy.refresh(java.lang.Object entity,
LockModeType lockMode) |
void |
EntityManagerExtendedProxy.refresh(java.lang.Object entity,
LockModeType lockMode) |
void |
AmberConnection.refresh(java.lang.Object entity,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
EntityManagerProxy.refresh(java.lang.Object entity,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
EntityManagerExtendedProxy.refresh(java.lang.Object entity,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties) |
Query |
QueryImpl.setLockMode(LockModeType lockMode)
Sets the lock type.
|
Modifier and Type | Method and Description |
---|---|
LockModeType |
EntityManagerJtaProxy.getLockMode(java.lang.Object entity) |
Modifier and Type | Method and Description |
---|---|
<T> T |
EntityManagerJtaProxy.find(java.lang.Class<T> entityClass,
java.lang.Object primaryKey,
LockModeType lockMode) |
<T> T |
EntityManagerJtaProxy.find(java.lang.Class<T> entityClass,
java.lang.Object primaryKey,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
EntityManagerJtaProxy.lock(java.lang.Object entity,
LockModeType lockMode)
Locks the object.
|
void |
EntityManagerJtaProxy.lock(java.lang.Object entity,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
EntityManagerJtaProxy.refresh(java.lang.Object entity,
LockModeType lockMode) |
void |
EntityManagerJtaProxy.refresh(java.lang.Object entity,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties) |
Modifier and Type | Method and Description |
---|---|
LockModeType |
Query.getLockMode()
Gets the lock type.
|
LockModeType |
EntityManager.getLockMode(java.lang.Object entity)
Returns the lock mode for the entity
|
static LockModeType |
LockModeType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LockModeType[] |
LockModeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
EntityManager.find(java.lang.Class<T> entityCLass,
java.lang.Object primaryKey,
LockModeType lockMode)
Find based on the primary key.
|
<T> T |
EntityManager.find(java.lang.Class<T> entityCLass,
java.lang.Object primaryKey,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties)
Find based on the primary key.
|
void |
EntityManager.lock(java.lang.Object entity,
LockModeType lockMode)
Sets the lock mode for an entity.
|
void |
EntityManager.lock(java.lang.Object entity,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties)
Sets the lock mode for an entity.
|
void |
EntityManager.refresh(java.lang.Object entity,
LockModeType lockMode)
Update the state of the instance from the database.
|
void |
EntityManager.refresh(java.lang.Object entity,
LockModeType lockMode,
java.util.Map<java.lang.String,java.lang.Object> properties)
Update the state of the instance from the database.
|
Query |
Query.setLockMode(LockModeType lockMode)
Sets the lock type.
|
TypedQuery<X> |
TypedQuery.setLockMode(LockModeType lockMode) |