|
From: <leg...@at...> - 2003-05-30 01:53:50
|
The following issue has been updated:
Updater: Gavin King (mailto:ga...@in...)
Date: Thu, 29 May 2003 8:53 PM
Changes:
priority changed from Major to Minor
---------------------------------------------------------------------
For a full history of the issue, see:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-112&page=history
---------------------------------------------------------------------
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: Minor
Project: Hibernate2
Assignee:
Reporter: Chris Winters
Created: Thu, 29 May 2003 10:49 AM
Updated: Thu, 29 May 2003 8:53 PM
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
|