java - Create a local transaction inside a Spring JTA transaction -
i want execute stored procedure inside jta transaction, have use local transaction instead reason. i've create pointcut, using local transaction manager this, exception threw below. did have such problem? how solve this?
*
after increasing transaction time-out 300, no timeout exception. following exception still thrown: exception [toplink-23011] (oracle toplink - 10g release 3 (10.1.3.3.0) (build 070428)): oracle.toplink.exceptions.transactionexception exception description: unitofwork [unitofwork( databaseaccessor(connected) oracle10platform)] rendered inactive before associated externally managed transaction complete. @ oracle.toplink.exceptions.transactionexception.inactiveunitofwork(transactionexception.java:105)
*
why can't use spring's "requires new" transaction annotation? new transaction , if transaction involves single resource "local" transaction.
Comments
Post a Comment