[jboss-user] [JCA/JBoss] - Re: autocommit question

weston.price@jboss.com do-not-reply at jboss.com
Wed Feb 14 13:24:09 EST 2007


Note, the reason your setting is not working is because of the name. The 


  | 
  | <connection-property name="auto-commit">false</connection-property>
  | 
  | 

should be renamed to


  | 
  | <connection-property name="autoCommit">false</connection-property>
  | 
  | 

But again, if you read my previous post, there are better, cleaner alternatives that the approach above. One of the drawbacks of doing this is the *-ds.xml file is that *all* connections created will have this property set. If you want to use the connection outside the context of a global transaction setting this property should really be done programmatically by you in your code. 





View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016517#4016517

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016517



More information about the jboss-user mailing list