[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-4490) NPE in SessionFactory if an SQL Exception is thrown when retrieving db metadata

Gail Badner (JIRA) noreply at atlassian.com
Mon Oct 12 13:18:41 EDT 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner resolved HHH-4490.
------------------------------

    Resolution: Cannot Reproduce

> NPE in SessionFactory 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: 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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list