1 Reply Latest reply on Oct 7, 2002 12:17 PM by juha

    RollbackException vs. TransactionRolledbackException

    holue

      Hi,

      I'm using Jboss 3.0.0 and i have a problem with BMP. When an error occurs during the ejbStore() method of my entity bean (e.g. a database constraint is violated) I throw an EJBException on the server side.

      On the Client side I expect to receive a javax.transaction.TransactionRolledbackException, but I receive a javax.transaction.RollbackException. Am I wrong or is this a bug in the jboss server?

      The problem is that a RollbackException doesn't have a nested Exception, where I can see the original Exception.

      Thanks for any help on this topic.

      Regards,
      Holger Luemkemann