5 Replies Latest reply on Feb 4, 2011 5:45 AM by iabughosh

    JBoss autocommit problem

    Yuriy Sherst Newbie

      Hi all. After running my web application I get exception:

      java.sql.SQLException: You cannot rollback with autocommit set!


      My oracle-ds.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      
      <datasources>
      
       <local-tx-datasource>
       <jndi-name>jdbc/alphaCommondoor</jndi-name>
       <connection-url>jdbc:oracle:thin:@gamma.app.kv.aval:1521:alfa</connection-url>
       <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
       <user-name>user</user-name>
       <password>password</password>
       </local-tx-datasource>
      
      </datasources>