This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
Could you help me out.. I am getting this error. java.lang.NullPointerException at COM.ibm.db2os390.sqlj.jdbc.DB2SQLJConnection.addStatement(DB2SQLJConn ction.java:1096) at COM.ibm.db2os390.sqlj.jdbc.DB2SQLJConnection.prepareCall(DB2SQLJConne tion.java:1270) at com.ibm.db2.jcc.DB2LogicalConnection.prepareCall(DB2LogicalConnection java:177) Using db2j2classes.zip for ConnectionPooling. Calling stored-proc. First call to the stored procedure is fine. Subsequent calls to the same stored-proc are throwing exceptions. Getting new connection before calling stored-proc. Printed a few connections. they are com.ibm.db2.jcc.DB2LogicalConnection@2b983f7�mClosed=fal se;mConnection=573a83f4�: com.ibm.db2.jcc.DB2LogicalConnection@38d483f4�mClosed=fa lse;mConnection=573a83f4�: What is mConnection? They show the same address I am getting above error while cstmt = con.prepareCall(sql);
Thanks [ February 03, 2004: Message edited by: shiva ko ]