[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2283) SchemaValidator.validate() should throw or collect exception

Mark Gorokhov (JIRA) noreply at atlassian.com
Mon Dec 4 16:24:05 EST 2006


SchemaValidator.validate() should throw or collect exception
------------------------------------------------------------

         Key: HHH-2283
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2283
     Project: Hibernate3
        Type: Improvement

  Components: core  
    Versions: 3.2.0.ga    
    Reporter: Mark Gorokhov


Method SchemaValidator.validate() logs SQLException without any option to retrieve this exception in the client code. 

EXAMPLE: Hibernate+HSQLDB is used in standalone application with "in-process" connection. Only single DB connection could be created. Let's start first application instance and then the second application instance. The second one will throw SQLException which ends up in a log file and does not reach the client code.

Method SchemaValidator.validate() should throw an exception to be caught the client code or at least to collect exceptions like SchemaUpdate.getExceptions().

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




More information about the hibernate-issues mailing list