Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: JDBC execute statement with Brackets - NullPointerException
Olivier Guyot wrote:
> 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
>
>
Where do you define Stmt? Received on Tue Jan 23 2007 - 11:13:58 CST
![]() |
![]() |