Nov 15th, 2012, 02:44 AM
Extending JpaTransactionManager with private inner class JpaTransactionObject
I would like to extend JpaTransactionManager , making it running extra sql in doBegin(), doCommit(), doRollBack() method, but I encounter problems because JpaTransactionObject used in JpaTransactionManager is a private inner class. The extending class cannot see the existence of JpaTransactionObject, thus I cannot get EntityManager in doBegin(), doCommit(), doRollBack().
Is there any ways extending JpaTransactionManager besides making JpaTransactionObject protected and recompile my own spring-orm.jar?
Tags for this Thread