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

Paul Benedict (JIRA) noreply at atlassian.com
Mon Oct 12 14:09:41 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34154#action_34154 ] 

Paul Benedict commented on HHH-4490:
------------------------------------

Is this for trunk? No Fixed Version is specified.

> 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