[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2603?page=c...
]
Max Rydahl Andersen commented on HHH-2603:
------------------------------------------
Deprecation does not necessarily means there are an alternate API - just look at the
deprecation of System.getEnv() in jdk 1.2 to jdk 1.4. There were no alternative to get
system variables, but it was still deprecated.
Please let us know what other means we have to make sure that everyone becomes aware of
the dangers of using .connection() and that they should know that it will be
removed/changed later on to ensure proper handling of resources.
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira