From: <ste...@us...> - 2006-02-08 22:47:41
|
Update of /cvsroot/hibernate/Hibernate3/src/org/hibernate/jdbc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28070/src/org/hibernate/jdbc Modified Files: Tag: Branch_3_1 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.27.2.1 retrieving revision 1.27.2.2 diff -u -d -r1.27.2.1 -r1.27.2.2 --- JDBCContext.java 3 Feb 2006 20:18:39 -0000 1.27.2.1 +++ JDBCContext.java 8 Feb 2006 22:47:34 -0000 1.27.2.2 @@ -122,7 +122,7 @@ } public Connection connection() throws HibernateException { - if ( !owner.isOpen() ) { + if ( owner.isClosed() ) { throw new SessionException( "Session is closed" ); } |