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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -