[hibernate-commits] Hibernate SVN: r11494 - trunk/Hibernate3/src/org/hibernate.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Tue May 8 22:00:16 EDT 2007
Author: steve.ebersole at jboss.com
Date: 2007-05-08 22:00:16 -0400 (Tue, 08 May 2007)
New Revision: 11494
Modified:
trunk/Hibernate3/src/org/hibernate/Session.java
Log:
HHH-2603 : deprecate Session.connection()
Modified: trunk/Hibernate3/src/org/hibernate/Session.java
===================================================================
--- trunk/Hibernate3/src/org/hibernate/Session.java 2007-05-09 02:00:05 UTC (rev 11493)
+++ trunk/Hibernate3/src/org/hibernate/Session.java 2007-05-09 02:00:16 UTC (rev 11494)
@@ -158,6 +158,7 @@
*
* @return the JDBC connection in use by the <tt>Session</tt>
* @throws HibernateException if the <tt>Session</tt> is disconnected
+ * @deprecated To be replaced with a SPI for performing work against the connection; scheduled for removal in 4.x
*/
public Connection connection() throws HibernateException;
More information about the hibernate-commits
mailing list