|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||||
@Inherited @Target(value=METHOD) @Retention(value=CLASS) public @interface Reading
Indicates an instance method of a persistent class will read the persistent
object's attributes. If annotated, the runtime method call to it will at the
same time encount the persistent object as READ by current
Transaction.
This is intended to be put on data integrity critical getter methods.
If a getter method reads the persistent object's attributes those don't make sense to data integrity, putting this annotation is not necessary, further more, omitting this will also increase transaction processing performance.
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||||