Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> JDBC execute statement with Brackets - NullPointerException

JDBC execute statement with Brackets - NullPointerException

From: Olivier Guyot <olivier.guyot2_at_free.fr>
Date: Mon, 22 Jan 2007 23:21:30 +0100
Message-ID: <45b538d1$0$744$426a74cc@news.free.fr>


Hi,

I am trying to create Through JDBC Connection a Java Source Stored procedure.

I get a Null Pointer Exception on

Statement.executeUpdate()

aused by: java.lang.NullPointerException

     at oracle.jdbc.driver.T4C8Oall.getNumRows(T4C8Oall.java:870)
     at 
oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:952)
     at 
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1168)
     at 
oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1614)
     at 

oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1579)

I found nothing on metalink, just a message on a post :

http://www.minq.se/forum/thread.jspa?threadID=1518&tstart=60

Telling that it is impossible to have statement whith {}. It is not well interpreted (thinking { call PKG.FUNCTION }

If somebody has an idea, telle me.

Regs,

Olivier Received on Mon Jan 22 2007 - 16:21:30 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US