Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: JDBC execute statement with Brackets - NullPointerException
Here it is :
The String I want to execute is :
--- CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "SystemUtil" AS import java.lang.*; import java.util.*; import java.io.*; public class SystemUtil { .... .... } ; ---- The JDBC Command : try { Stmt = Conn.getOracleConnection().createStatement(); Stmt.executeUpdate(SQLStmt); } catch (SQLException E) { throw new EStmtException (Constante.ERROR_EXECUTE ,Conn,SQLStmt,E); I have tested executeUpdate and execute with the same Error : NullPointerException. Regs, Olivier Thomas Kellerer a écrit :Received on Tue Jan 23 2007 - 03:22:52 CST
> Olivier Guyot wrote on 22.01.2007 23:19:
>> If somebody has an idea, telle me.
> Showing us the actual code would be a first step.
>