Update of /cvsroot/hibernate/Hibernate3/src/org/hibernate/jdbc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22151/src/org/hibernate/jdbc
Modified Files:
JDBCContext.java
Log Message:
HHH-1287 : more websphere transaction issues (yaay!)
Index: JDBCContext.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate3/src/org/hibernate/jdbc/JDBCContext.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- JDBCContext.java 3 Feb 2006 22:08:24 -0000 1.28
+++ JDBCContext.java 8 Feb 2006 22:34:34 -0000 1.29
@@ -121,7 +121,7 @@
}
public Connection connection() throws HibernateException {
- if ( !owner.isOpen() ) {
+ if ( owner.isClosed() ) {
throw new SessionException( "Session is closed" );
}
|