Sacha Labourey :
> Are you using a transaction for your home.create call?

I'm using CMT, and yes ... As the transaction covers ejbCreate() and 
ejbPostCreate() my DB is still ok.
In fact, after playing with that I noticed that the create method throws a 
EJBException
instead a CreateException in this particular case ...

Rupp,Heiko :
> Hi,
>
> from where do you call the EntityBean? From a servlet or from
> a session bean? If from a servlet, then try to migrate the call
> to a slsb as facade and try again.

This code is executed within a Cactus's ServletTestCase ... so from a 
servlet.
Why would it change something to run it from a facade bean ? 
And anyway it does not change the fact that the current behaviour is wrong 
(well, I think so, it's 
such a long time that I didn't check the EJB spec :-p)

Regards,
Sebastien.


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to