|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AutoDetach
Bit flags for when to automatically detach the entire persistence context.
Field Summary | |
---|---|
static int |
DETACH_CLOSE
Detach context on close. |
static int |
DETACH_COMMIT
Detach context on transaction commit. |
static int |
DETACH_NONE
Do not detach at all. |
static int |
DETACH_NONTXREAD
Detach context on any nontransctional read, such that each nontransactional operation uses a new persistence context in essence. |
static int |
DETACH_ROLLBACK
Detach context on failed transaction commit / rollback. |
static String[] |
names
|
static int[] |
values
|
Field Detail |
---|
static final int DETACH_CLOSE
static final int DETACH_COMMIT
static final int DETACH_NONTXREAD
static final int DETACH_ROLLBACK
static final int DETACH_NONE
static final String[] names
static final int[] values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |