[ http://jira.andromda.org/browse/SPRING-72?page=comments#action_11560 ] Chad Brandon commented on SPRING-72: ------------------------------------
Hi Jens, Since you just described all the steps....why don't you just supply a patch? :) (I'd be appreciated) > Use/enable spring transactions even if using EJBs > ------------------------------------------------- > > Key: SPRING-72 > URL: http://jira.andromda.org/browse/SPRING-72 > Project: Spring Cartridge > Type: Improvement > Versions: 3.0 Final > Reporter: Jens Vagts > Assignee: Chad Brandon > > Even on using spring inside J2EE ($ejbEnabled) it makes sense to use spring > declarative transactions as suggested in the spring reference documentation. > Since than you can use the same transaction declarations in different > environments. > Following (small) changes have to be made to make this working: > - add a additional build property to enable spring transactions > - move the definition of the transaction manager to the > applicationContext-datasource.xml > - reference the transaction manager in the applicationContext with "ref bean" > instead of "ref local" > - make user transaction name of transaction manager configurable through > build property. For instance: for using JBoss JTA following definition is > neccessary > <bean id="transactionManager" class="$transactionManager"> > <property > name="userTransactionName"><value>UserTransaction</value></property> > </bean> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ Andromda-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-devel
