|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=FIELD) @Retention(value=RUNTIME) public @interface TxLocal
This is an aspect-oriented annotation and triggers certain behavior. It allows a field to have the value of itself pertain to the current transaction. The fields transactional and non-transactional value is always separate At tx commit, the transactional value the field had is wiped away. At tx commit, the transactional value does not correspond to the non-transactional value If you are within a transaction and you get the value of the field before setting it then the initial transational value will be set to the current non-transactional value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |