Transaction does not rollback

Discussions

EJB programming & troubleshooting: Transaction does not rollback

  1. Transaction does not rollback (2 messages)

    I am using CMT in SLSB, from where I invoke a dao which inserts into two tables. The insert into the second table fails due to invalid data, but the transaction is not rolled back, there is a new record in the first table, which should not have been there in case of a successfull rollback. I have tried using setRollbackOnly(), but this too does'nt work. It is the same case if you use bean managed transactions too, the transaction is getting rollback even after calling the rollback() statement.

    Any suggesstions.

    Mohamed Zafer
  2. Transaction does not rollback[ Go to top ]

    what database server you using if its MySQL then make sure your tables are
    either BDM or InnoDB
  3. Transaction does not rollback[ Go to top ]

    I am using Oracle 9