SettingsFactory hides SQLException
----------------------------------
Key: HHH-6690
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6690
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.6.7
Environment: All
Reporter: Lionel van den Berg
When a SessionFactory is created using the Configuration.buildSessionFactory() method a
failed connection attempt due to invalid user credentials, an invalid password or some
other similar cause fails silently as the SQLException thrown by the ConnectionProvider is
caught at line 104 of SettingsFactory, logged and no further information is provided to
the calling class.
This makes it impossible for an application to determine what went wrong and to provide
feedback in a user-driven environment.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira