The following comment has been added to this issue:
Author: Chris Winters
Created: Thu, 29 May 2003 1:55 PM
Body:
Whoops -- I meant Hibernate 2.0 rc2, not rc5.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-112
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-112
Summary: If connection not available, no exception thrown
Type: Bug
Status: Unassigned
Priority: Major
Project: Hibernate2
Assignee:
Reporter: Chris Winters
Created: Thu, 29 May 2003 10:49 AM
Updated: Thu, 29 May 2003 10:49 AM
Environment: Hibernate 2.0 rc5
Description:
When building a SessionFactory with a 'Datasource' set I'd like to know if it fails to connect to the given datasource. Currently it just logs a message and keeps on going (lines 159-172 of SessionFactoryImpl). So once the SessionFactory is created I have no idea if this aspect failed or not. Having a status on the SessionFactory would be useful, probably even better would be a configuration setting (e.g., Environment.DIE_ON_FAILED_CONNECTION) that tells the constructor to throw an exception if the connection cannot be made.
---------------------------------------------------------------------
JIRA INFORMATION:
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/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|