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
Assigned to: Gavin King
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
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development