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

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Aug 28 11:52:24 EDT 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2029?page=all ]
     
Steve Ebersole closed HHH-2029:
-------------------------------

    Resolution: Rejected

make sure you are looking at documentation matching the version you are using

> 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

>
> Original Estimate: 15 minutes
>         Remaining: 15 minutes
>
> 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