I have a standalone Java application that uses EclipseLink 2.0.1. It is configured by a persistence.xml, and then does something like:
final EntityManagerFactory emf = Persistence.createEntityManagerFactory("xy");
final EntityManager em = emf.createEntityManager();
em.getTransaction().begin();
....
em.getTransaction().commit();
I want to find out, which Database Transaction Isolation level actually applies to that transaction. Even a "dirty debugging only" solution would be helpful.
The EclipseLink documentation describes, that
Achieving a particular database transaction isolation level in an EclipseLink application is more involved than simply using the DatabaseLogin method setTransactionIsolation
so I want to make sure, that my desired isolation level applies!