Point of interest is InlineParameterMapParser.

   mappingList.add(mapping);
   newSqlBuffer.append("?");
   ...
   ...
   newSql = newSqlBuffer.toString();
   ParameterMapping[] mappingArray = (ParameterMapping[])
   mappingList.toArray(new ParameterMapping[mappingList.size()]);

   SqlText sqlText = new SqlText();
   sqlText.setText(newSql);
   sqlText.setParameterMappings(mappingArray);

Looks ok to me.


Sven Boden wrote:

I may be mixing up things... let me check as well ;-) $/#/...

Sven

On Fri, 07 Oct 2005 00:20:47 +0200, you wrote:

Thanks for sharing, I was always under the impression that inline parameters didn't mean hard parses. I'm quite aware of the fact that this might hurt Oracle.

Checking...

Sven Boden wrote:




--
Cumquat Information Technology
De Dreef 19
3706 BR Zeist
T +31 (0)30 - 6940490
F +31 (0)10 - 6940499
http://www.cumquat.nl

[EMAIL PROTECTED]
M +31 6 51 169 556


Reply via email to