]
Strong Liu resolved HHH-4854.
-----------------------------
Resolution: Fixed
Fix Version/s: 4.0.0.next
thanks
Make constraint violation name extraction language neutral
----------------------------------------------------------
Key: HHH-4854
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4854
Project: Hibernate Core
Issue Type: Improvement
Components: core
Affects Versions: 3.2.6
Environment: Oracle 8 or later
Reporter: Jonas Olsson
Assignee: Strong Liu
Fix For: 4.0.0.next
Attachments: HHH-4854.patch
The ViolatedConstraintNameExtracter of Oracle8iDialect uses the following pattern for
extracting the contraint violated:
return extractUsingTemplate( "constraint (", ") violated",
sqle.getMessage() );
and is highly error message language dependent. Changing to:
return extractUsingTemplate( "(", ")", sqle.getMessage() );
would eliminate this while still getting the constraint name.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: