0 Replies Latest reply on Jun 29, 2006 8:24 AM by Baskar G

    rollback not happening on ejbCreate()

    Baskar G Newbie

      Hi

      i am calling three ejbCreate() methods from a session bean(single method).

      These CMP beans running in a transactional context of session bean(session fecade).

      my need is, all the three ejbCreate() should happen successfully or nothing should happen.

      if anything goes wrong between these ejbCreate()s, i am calling sessionContext.setRollbackOnly().

      finally this should rollback the transaction. in my case the rollback is not happening.


      i am using Jboss 4.0.2 and mysql database

      all my ejb methods are running in transaction. i declared it on ejb-jar.xml.

      Thanks
      Baskar G