Hi,
I am using an application managed entity manager.
I am just wondering what (if any) are the consequences of not committing a transaction that has been begun?
Code:
entityManager.getTransaction().commit();
// perform other entityManager operations
There's the obvious the data will not be committed to the database, but I am just thinking is there anything else.
Appreciate it's an odd question as this is something that is obviously not recommended, I would still like to know if there are any other consequences.
Rgds