Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.5-incubating
-
None
-
None
Description
Hi BatchEE-Team,
right now it's quite difficult to extend the JPAPersistenceManagerService. It would be very helpful if you could change the visibility of the member variables to protected.
// in the original version both members are private protected EntityManagerProvider emProvider; protected TransactionProvider txProvider;
Furthermore, please do the same for performRollback
protected Exception performRollback(Object tx, Exception originalException) { try { txProvider.rollback(tx, originalException); } catch (Exception exceptionDuringRollback) { LOGGER.log(Level.SEVERE, "Got an Exception while rolling back due to another Exception. Printing Rollback Exception and re-throwing original one", exceptionDuringRollback); } return originalException; }
Thank you in advance