0 Replies Latest reply on Jun 14, 2003 11:02 AM by Muneendra

    AutoCommit problem

    Muneendra Newbie

      Hi all,

      I am using jboss-3.0.4 and Oracle as batabase

      From session bean i am getting the database Connection using DataSource

      With database Connection i will be doing update sql query on three tables if some any exception while updating the third query i want to roll back from first two .

      when i use con.rollBack() . i am getting java.sql.SQLException: You cannot rollback during a managed transaction!

      and also i am not able to set con.setAutoCommit(false) because i found my default its true.. kindly help to come out from this problem

      regards
      Muneendra