Hi,

I have tried to specify TX_REQUIRED for a BMP entity bean and then call
context.setRollbackOnly() in an ejbCreate() function. The call states that
there is no open transaction and my database modifications are not rolled
back.

I note that both the EJB1.0 and EJB1.1 specifications state that ejbCreate
should be called with the proper transaction context so I am assuming this
is a bug.

However if a call to setRollbackOnly() in an ejbCreate() function works for
you I'd like to know in case I am doing something else wrong.

- Paul Andrews

________________________________________________________

+44 171 521 2909

The views expressed herein are purely personal and should not be
construed to be otherwise

Reply via email to