ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prashanth Sukumaran <prashanthsukuma...@yahoo.com>
Subject Re: Complex type as IN parameter
Date Wed, 10 Aug 2005 21:48:05 GMT
Hi Satish,

I see that Ibatis has a JDBCTypeRegistry.java that defines all the different JDBCTypes.  It
has a
reference to 

                setType("ARRAY", Types.ARRAY);

May be you can pass a array to the Stored Procedure if not a list.

I don't know if there is documentation for this.  

Can any of the iBatis developers help with this?


Prashanth Sukumaran.

--- Koka <226057@gmail.com> wrote:

> Well, as far as I know in Oracle passing arrays to Prepared/Callable
> procedures is posible BUT is part of Oracle extensions, i.e. requires
> casts to OraclePreparedStatement and OracleCallableStatement.
> So at least with Oracle it will be impossible (as  SqlExecutor
> explicitely uses java.sql.CallableStatement) unless one starts
> modifying iBatis code.
> Good luck
> Koka

Start your day with Yahoo! - make it your home page 

View raw message