[
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-configurat...)
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira