[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2603) Deprecate the Session.connection() method
Glen K. Peterson (JIRA)
noreply at atlassian.com
Wed Mar 19 10:52:33 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29834 ]
Glen K. Peterson commented on HHH-2603:
---------------------------------------
Thank you very much, Steve. This is just what I needed. I apologize for my haughty tone earlier.
For the record, I also tried an earlier suggestion:
hibernateConfig.buildSettings().getConnectionProvider().getConnection();
and got:
FATAL org.hibernate.connection.ProxoolConnectionProvider::configure(150): Proxool Provider unable to load load Property configurator file: proxool.properties
org.logicalcobwebs.proxool.ProxoolException: Attempt to register duplicate pool called 'pool1'
So Steve's suggestion appears to be the best solution.
> Deprecate the Session.connection() method
> -----------------------------------------
>
> Key: HHH-2603
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2603
> Project: Hibernate3
> Issue Type: Deprecation
> Components: core
> Reporter: Steve Ebersole
> Assignee: Steve Ebersole
> Fix For: 3.2.4
>
>
> Deprecate the Session.connection() method, in favor of a "JDBC work" API. Schedule for removal in 4.0
--
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