|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface PersistenceUnitContext
永続ユニットのコンテキストです。
メソッドの概要 | |
---|---|
EntityManager |
getEntityManager(Transaction tx)
指定されたトランザクションに関連付いた EntityManager を返します。 |
void |
registerEntityManager(Transaction tx,
EntityManager em)
指定されたトランザクションに関連付けて EntityManager を登録します。 |
void |
unregisterEntityManager(Transaction tx)
指定されたトランザクションに関連付けられた EntityManager の登録を取り消します。 |
メソッドの詳細 |
---|
EntityManager getEntityManager(Transaction tx)
EntityManager
を返します。
tx
- トランザクション
EntityManager
のコンポーネントvoid registerEntityManager(Transaction tx, EntityManager em)
EntityManager
を登録します。
tx
- トランザクションem
- EntityManager
のコンポーネントvoid unregisterEntityManager(Transaction tx)
EntityManager
の登録を取り消します。
tx
- トランザクション
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |