transactions - Spring JNDI Configuration -
using spring jndi look-up our data access requirements. making calls multiple stored procedures (in sybase). wanted way control auto-commit property of transactions while calling these stored procs. able achieve basicdatasource (property name="defaultautocommit").
got stuck when moved doing jndi look-up (from weblogic).
<jee:jndi-lookup jndi-name="wl_data_source" id="datasource" /> <bean id="procedurehandlerbean" class="myclass"> <property name="procdatasource" ref="datasource"/> </bean>
after researching few days, appears me can use jtatransactionmanager. however, not sure if can use transaction manager configure auto-commit on per procedure call basis (due different chained/unchained mode requirements of different procs). there clean way achieve this?
Comments
Post a Comment