SQLState should be preserved inside BatchUpdateException
--------------------------------------------------------

         Key: SEQUOIA-959
         URL: https://forge.continuent.org/jira/browse/SEQUOIA-959
     Project: Sequoia
        Type: Bug

  Components: JDBC Driver  
    Versions: Sequoia 2.10.9, Sequoia 2.10.8    
 Environment: Sequoia 2.10.8 and CVS HEAD
    Reporter: Ivo Danihelka
 Attachments: sqlstate.diff

Currently, thrown BatchUpdateException does not contain SQLState of the 
underlying cause. It only obtains its message.
It is then impossible to programmatically recognize what was the real cause. 
For example, the Hibernate uses the SQLState to recognize 
ConstraintViolationException.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to