[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4490?page=c...
]
Strong Liu updated HHH-4490:
----------------------------
Summary: NPE in SettingFactory if an SQL Exception is thrown when retrieving db
metadata (was: NPE in SessionFactory if an SQL Exception is thrown when retrieving db
metadata)
correct the title
NPE in SettingFactory if an SQL Exception is thrown when retrieving
db metadata
-------------------------------------------------------------------------------
Key: HHH-4490
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4490
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.3.2
Environment: Hibernate 3.3.2.GA
Oracle 10G
Reporter: Coquentin Pierre
Attachments: hibernate-testcase-launcher.zip, hibernate-testcase-launcher.zip,
stacktrace.txt
If an sql exception occurs when hibernate tries to get metadata in
org.hibernate.cfg.SessionFactory.buildSettings(Properties props) (line 113) then it's
logged and nothing else is done, so the dialect is not computed and leads to an NPE line
151. It's not reproductible with hibernate 3.2.6 as the code changed.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira