I am using non-transactional DataSource. I want to declaratively set autoCommit to 
false in the ds.xml on Jboss 3.2.x. 

My mssql-ds.xml is defined as bleow:
<datasources>
  |   <no-tx-datasource>
  |     <jndi-name>DefaultDS</jndi-name>
  |     
<connection-url>jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=mydb;SelectMethod=Cursor</connection-url>
  |     <driver-class>com.microsoft.jdbc.sqlserver.SQLServerDriver</driver-class>
  |     <user-name>sa</user-name>
  |     <password>sa</password>
  |     <max-pool-size>50</max-pool-size>
  |   </no-tx-datasource>
  | </datasources>

Currently I am programmatically setting autocommit to false on my connection. Is there 
a way to set it declaratively in the above ds.xml file?



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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to