Hello, ranchers! As I read the spec for some clarification I found this:
3.5.6 - Exceptions Lifecycle callback methods may throw runtime exceptions. A runtime exception thrown by a callback method that executes within a transaction causes that transaction to be rolled back. No further lifecycle callback methods will be invoked after a runtime exception is thrown.
The question is: does this implies that PostUpdate and PostPersist callbacks will be contained in the active transaction (if any)? Or is it anywhere else explicitly stated?
[ May 29, 2006: Message edited by: Henrique Sousa ] [ May 29, 2006: Message edited by: Henrique Sousa ]
Henrique Sousa<br />SCJP 1.4<br /> <br />All men die, not all men really live - Braveheart, 1995
He was expelled for perverse baking experiments. This tiny ad is a model student: