User: starksm
Date: 01/12/27 12:17:42
Modified: src/main/org/jboss/pool/jdbc Tag: Branch_2_4
StatementInPool.java
Log:
Apply patch #495746 for getResultSet bug
Revision Changes Path
No revision
No revision
1.1.1.1.2.1 +2 -1
jbosspool/src/main/org/jboss/pool/jdbc/Attic/StatementInPool.java
Index: StatementInPool.java
===================================================================
RCS file:
/cvsroot/jboss/jbosspool/src/main/org/jboss/pool/jdbc/Attic/StatementInPool.java,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -u -r1.1.1.1 -r1.1.1.1.2.1
--- StatementInPool.java 2001/05/15 07:58:24 1.1.1.1
+++ StatementInPool.java 2001/12/27 20:17:41 1.1.1.1.2.1
@@ -224,7 +224,8 @@
public ResultSet getResultSet() throws SQLException {
if(impl == null) throw new SQLException(CLOSED);
try {
- return new ResultSetInPool(impl.getResultSet(), this);
+ ResultSet rs = impl.getResultSet();
+ return rs == null ? null : new ResultSetInPool(rs, this);
} catch(SQLException e) {
setError(e);
throw e;
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development