Community
Participate
Working Groups
JPA Transaction are not handled correctly within "org.eclipse.ebpm.DatabaseService" When multiple threads are attempting to register service the following exception occurs: "Exception Description: Transaction is currently active"
This is beacuse this class could be used in concurrent way and rely on EntityManager stored as an instance member of the "org.eclipse.ebpm.DatabaseService" is not correct. It could happen that methods like em.beginTransaction throw exception like: "Exception Description: Transaction is currently active"