0 Replies Latest reply on Apr 7, 2003 7:49 AM by raghavk

    Does JBoss provide container managed transactions for Castor

    raghavk


      I am trying to use castor jdo from JBoss.


      from a Stateless session bean , i am able to create and query the JDOs.but , some times , if any exception comes during the castor jdo interaction. transaction is not rolled back. and i see some of records of the incomplete
      transaction being persisted in the db.

      i would like to know , whether JBoss provides container managed transaction support for castor jdos (though castor implements JTA).

      Environment :
      JBoss3.0.6 , jdk1.4.1 , mysql, castor-0.9.4.3 and castor-jboss-plugin ( i.e.
      MBean available in jboss source )


      deploy ment descriptors contain :
      1) SessionBean which manipulates with JDO as "container managed transaction"
      <transaction-type>Container</transaction-type>
      2) RequiresNew
      <trans-attribute>RequiresNew</trans-attribute>


      can some one clarify this i.e. container managed transaction support for
      castor jdos in jboss.?

      thanks
      shyam