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?
The changes are committed but since there is no transaction they can't be rolled back automagically.