#20 Call setRollbackOnly() in Entity EJB

v2.2.1 (stable)
closed-out-of-date
JBossTX (39)
5
2001-11-07
2001-05-02
Anonymous
No

Hi,

I made a little sample program, which uses a CMP
Entity EJB. In one method of this bean I call
setRollbackOnly() in the EntityContext. All methods
of the bean have default transactional behaviour. So
when the method has finished, the transaction should
roll back. When I call another method after that, the
client blocks. After a while (timeout) jBoss prints
error messages saying, that the transaction marked for
rollback still exist.

If I throw the EJBException, then the transaction is
rolled back, but the ejbStore() is called before that.

This is behaviour wanted?

Cheers,
Dirk

Discussion

  • Andreas Schaefer

    • assigned_to: nobody --> schaefera
     
  • Andreas Schaefer

    Logged In: YES
    user_id=70434

    In the current version 2.4.3 this seems not to a problem
    anymore.

    Andy

     
  • Andreas Schaefer

    • status: open --> closed-out-of-date
     
  • Andreas Schaefer

    Logged In: YES
    user_id=70434

    In the current version 2.4.3 this seems not to a problem
    anymore.

    Andy

     
  • Andreas Schaefer

    Logged In: YES
    user_id=70434

    In the current version 2.4.3 this seems not to a problem
    anymore.

    Andy

     

Log in to post a comment.