users@glassfish.java.net

Re: Exception Interceptor

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Mon, 29 Jun 2009 12:42:21 -0700

Then the commit/rollback fails and that what the client is told about. I added
logging of the exception in beforeCompletion but I'm not sure if it made it to
v2.1, so try setting Hibernate log levels to finest to see the actual cause.
There is also an open bug to propagate the exception from the beforeCompletion
to the client that should be fixed in v3.

Check if setting rollback only solves your problem.

HTH,
-marina

glassfish_at_javadesktop.org wrote:
> Nevermind, I figured that part out:
> @Resource
> private javax.ejb.SessionContext session;
>
>
> Which shows that session.getRollbackOnly() == false.
> [Message sent by forum member 'culli' (culli)]
>
> http://forums.java.net/jive/thread.jspa?messageID=353469
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>