[hibernate-commits] Hibernate SVN: r11493 - branches/Branch_3_2/Hibernate3/src/org/hibernate.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue May 8 22:00:05 EDT 2007


Author: steve.ebersole at jboss.com
Date: 2007-05-08 22:00:05 -0400 (Tue, 08 May 2007)
New Revision: 11493

Modified:
   branches/Branch_3_2/Hibernate3/src/org/hibernate/Session.java
Log:
HHH-2603 : deprecate Session.connection()

Modified: branches/Branch_3_2/Hibernate3/src/org/hibernate/Session.java
===================================================================
--- branches/Branch_3_2/Hibernate3/src/org/hibernate/Session.java	2007-05-09 01:57:11 UTC (rev 11492)
+++ branches/Branch_3_2/Hibernate3/src/org/hibernate/Session.java	2007-05-09 02:00:05 UTC (rev 11493)
@@ -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