Re: OC4J Bind Variables: Positional Notation
Date: Mon, 14 Jul 2008 15:47:40 +0200
> As an aside, I think in JDeveloper there is actually a
> setting to change how bind variables are submitted.
I (almost) never used JDeveloper. But, honestly, I see no reason for doing that for plain JDBC code. On the other side, when using a persistence framework, influencing the use of bind variables can be useful.
> I'm confused as to why it changes in this application.
> Can it be set in the code?
From the JDBC API point-of-view I see only one possibility. The SQL statement is executed through the class Statement instead of PreparedStatement. If you have access to the code, I would have a look to the snippet that executes one of the failing SQL statements.
Troubleshooting Oracle Performance, Apress 2008 (http://top.antognini.ch)
-- http://www.freelists.org/webpage/oracle-l The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. -- http://www.freelists.org/webpage/oracle-lReceived on Mon Jul 14 2008 - 08:47:40 CDT