I need to use PreparedStatement with parameters that are arrays within a
flowscript.
Dealing with arrays onto a jdbc connection means use special functions
provided by the jdbc driver.
In my case the oracle driver has a function
|*ArrayDescriptor.createDescriptor
<http://www.rakeshv.org/docs/oracle/jdbc3.0/oracle/sql/ArrayDescriptor.html#createDescriptor%28java.lang.String,%20java.sql.Connection%29>*(java.lang.String name,
java.sql.Connection conn) that needs a ||java.sql.Connection connection.
Within a flowscript I only know how to obtain a
|org.apache.cocoon.components.flow.javascript.ScriptableConnection using
Database.js from petstore block.
I did not found how to have |||java.sql.Connection from it.|
I would not use more complicated solutions like hibernate (I have to do
a "simple" select builded in a dynamic way, so using an orm framework is
not so useful) but...
Any suggest?
Alberto
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]