[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2029) default value for hibernate.connection.release_mode is not correct

Pavel Rubin (JIRA) noreply at atlassian.com
Fri Aug 25 11:07:24 EDT 2006


default value for hibernate.connection.release_mode is not correct
------------------------------------------------------------------

         Key: HHH-2029
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2029
     Project: Hibernate3
        Type: Bug

  Components: documentation  
    Versions: 3.2.0.cr3    
    Reporter: Pavel Rubin
    Priority: Minor


The docs (http://www.hibernate.org/hib_docs/v3/reference/en/html/session-configuration.html#configuration-optional) says that default value for hibernate.connection.release_mode is "on_close".
But in the source code (3.2.0.cr3) we can see, the default is "auto", which is either "after_transaction" or  "after_statement" depending on the TransactionFactory.
See: org.hibernate.cfg.SettingsFactory line 168, org.hibernate.transaction.JDBCTransactionFactory line 19, org.hibernate.transaction.JTATransactionFactory line  61.
See also issue #HHH-1038

Either the docs or defaults should be 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