1 Reply Latest reply on Sep 1, 2004 3:04 AM by Alexey Loubyansky

    db updates are committed despite NotSupported transaction ty

    Johan Borchers Newbie

      Hello,
      I'm using JBoss 3.2.3 and 3.2.5 with stateless session beans doing JDBC things to an Oracle 8.1.7 db. Things are working fine but I discovered by accident that an update to the database is committed in a method with a NotSupported transaction type set. It also happens with the type Never. It looks as if there is no transaction context the method commits every database update. Even if you throw an EJBException from the method the database updates are committed. I know I should not perform database updates in a method with a NotSupported transaction type.
      Is this a normal behaviour? I'm a thinking wrong?
      My thought was that a method without a transaction context should not perform any commit.

      Someone any idea about this?

      Many thanks,
      Johan