[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6169) Prevent unnecessary calls to JDBC metadata methods.

Justin Rosenberg (JIRA) noreply at atlassian.com
Thu Apr 28 19:52:59 EDT 2011


Prevent unnecessary calls to JDBC metadata methods.
---------------------------------------------------

                 Key: HHH-6169
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6169
             Project: Hibernate Core
          Issue Type: Patch
          Components: core
    Affects Versions: 4.0.0.Alpha2
         Environment: N/A
            Reporter: Justin Rosenberg
            Priority: Trivial


At start-up Hibernate logs the JDBC and Database versions at the debug level.  In some JDBC Drivers calling these methods will make round trip calls to the database to get the information.  If debugging is disabled this calls are unnecessary.

I will be creating a pull request for this change.

-- 
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