Hi Ranchers (and yes ... this is a [soon to be] deprecated exam guide),
Under what possible conditions would trans still be active if JPA implementations will automatically roll back transactions if any exception is thrown during the commit process?
MZ
JPA implementations will automatically roll back transactions if any exception is thrown during the commit process.
The EntityTransaction Interface
...
The following example illustrates the creation of an entity manager factory in a Java SE
environment, and its use in creating and using a resource-local entity manager:
...
Example. Grouping Operations with Transactions: