DB2 - Problembeschreibung
Problem IC70619 | Status: Geschlossen |
EXECUTING AN SQLJ SINGLETON SELECT STATEMENT WITH THE "SELECT INTO" CONSTRUCT MAY LEAD TO ERROR -4470 (RESULT SET IS CLOSED) | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
When SQLJ runtime is used to execute a singleton select statement which includes "SELECT INTO" construct, operation may end abnormally throwing following exception: com.ibm.db2.jcc.am.SqlException: [jcc][10120][10943][4.9.78001] Invalid operation: result set is closed ERRORCODE=-4470, SQLSTATE=null at com.ibm.db2.jcc.am.ed.a(ed.java:660) at com.ibm.db2.jcc.am.ed.a(ed.java:60) at com.ibm.db2.jcc.am.ed.a(ed.java:103) at com.ibm.db2.jcc.am.dn.yb(dn.java:3990) at com.ibm.db2.jcc.am.dn.getFetchSize(dn.java:1126) at com.ibm.ws.rsadapter.jdbc.WSJccPreparedStatement.<init>(WSJccPre paredStatement.java:176) at com.ibm.ws.rsadapter.jdbc.WSJccConnection.prepareSQLJStatement(W SJccConnection.java:632) at com.ibm.db2.jcc.sqlj.m.<init>(m.java:257) at com.ibm.db2.jcc.sqlj.e.getStatement(e.java:137) at sqlj.runtime.ExecutionContext$StatementStack.setStatement(Execut ionContext.java:1172) at sqlj.runtime.ExecutionContext.registerStatement(ExecutionContext .java:695) This problem is most likely to occur in IBM Websphere Application Server (v7) environment. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * IBM Websphere Application Server (v7) * **************************************************************** * PROBLEM DESCRIPTION: * * When SQLJ runtime is used to execute a singleton select * * statement which includes "SELECT INTO" construct, operation * * may end abnormally throwing following exception: * * com.ibm.db2.jcc.am.SqlException: * * [jcc][10120][10943][4.9.78001] * * Invalid operation: result set is closed ERRORCODE=-4470, * * SQLSTATE=null * * at com.ibm.db2.jcc.am.ed.a(ed.java:660) * * at com.ibm.db2.jcc.am.ed.a(ed.java:60) * * at com.ibm.db2.jcc.am.ed.a(ed.java:103) * * at com.ibm.db2.jcc.am.dn.yb(dn.java:3990) * * at com.ibm.db2.jcc.am.dn.getFetchSize(dn.java:1126) * * at * * com.ibm.ws.rsadapter.jdbc.WSJccPreparedStatement.<init>(WSJccP * at * * com.ibm.ws.rsadapter.jdbc.WSJccConnection.prepareSQLJStatement * at com.ibm.db2.jcc.sqlj.m.<init>(m.java:257) * * at com.ibm.db2.jcc.sqlj.e.getStatement(e.java:137) * * at * * sqlj.runtime.ExecutionContext$StatementStack.setStatement(Exec * at * * sqlj.runtime.ExecutionContext.registerStatement(ExecutionConte * * * * * This problem is most likely to occur in IBM Websphere * * Application Server (v7) environment. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 UDB for LUW version 9.7.300 * **************************************************************** | |
Local-Fix: | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows | |
Lösung | |
Problem was first fixed in Version 9.7 Fix Pack 3 At a minimum, this fix should be applied on the client | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 18.08.2010 02.05.2011 02.05.2011 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.300, 9.7.FP3 | |
Problem behoben lt. FixList in der Version | |
9.7.0.3 | |
9.7.0.3 |