"Andrews, Paul" wrote:
> 
> 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.
Yes, you are perfectly right. This is a bug that must be fixed, but this is not
so easy because the current version of jonas does not consider the create
methods as business methods. We are currently thinking on a fix for that.
> 
> 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.

-- 
Philippe Durieux  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull S.A  - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]  http://www-frec.bull.com
-> Download our EJBServer at http://www.bullsoft.com/ejb <-

Reply via email to