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

Home -> Community -> Usenet -> c.d.o.server -> Re: JDBC execute statement with Brackets - NullPointerException

Re: JDBC execute statement with Brackets - NullPointerException

From: <joeNOSPAM_at_BEA.com>
Date: 23 Jan 2007 04:49:14 -0800
Message-ID: <1169556554.676630.7330@l53g2000cwa.googlegroups.com>

Hi Oliver. This may be an oracle driver bug, to do with it's mistakenly processing the '[' and ']' as JDBC SQL Extension syntax, such as

p = c.prepareStatement("{ call myProc(?) }");

Try calling setEscapeProcessing(false) on your statement before executing your SQL.
Lemme know...

Joe Weinstein at BEA Systems Received on Tue Jan 23 2007 - 06:49:14 CST

Original text of this message

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