[ http://jira.jboss.com/jira/browse/HIBERNATE-5?page=history ]
     
Steve Ebersole resolved HIBERNATE-5:
------------------------------------

    Resolution: Done

After further thought, this particular one is a trivial change so I went ahead 
and did this for 4.0.2.  An exception during flush processing in 
TransactionSynch now throws a TransactionSynch.FlushException.

> jmx transaction flush swallows exception
> ----------------------------------------
>
>          Key: HIBERNATE-5
>          URL: http://jira.jboss.com/jira/browse/HIBERNATE-5
>      Project: Hibernate
>         Type: Bug
>  Environment: jboss-4.0.1  
> winxp
> postgresql
>     Reporter: Ben Litchfield
>     Assignee: Steve Ebersole

>
>
> A database exception, such as constraint violation, doesn't happen until a 
> session.flush().  In the JMX code this happens in the 
> org.jboss.hibernate.session.TransactionSynch.beforeCompletion() method, but 
> the exception is swallowed.  
> This needs to be changed to throw an exception to the user.  Otherwise no 
> exception is thrown to the user.
> Ben

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to