Mapping oracle data types

2007-11-14 Thread Giovanni Cuccu
Hi all, I'm currently using ibatis 2.3 with Oracle and I'm trying to mapping some oracle datatypes. For now I'm focusing on VARRAY and with the current version of IBatis I'm able to map a String[] to a VARRAY type (where the basic type is varchar2) as an input param to a stored procedure. What

Re: Mapping oracle data types

2007-11-29 Thread Giovanni Cuccu
Any comments on this? Thanks, Giovanni On Nov 14, 2007 3:12 PM, Giovanni Cuccu <[EMAIL PROTECTED]> wrote: > Hi all, > I'm currently using ibatis 2.3 with Oracle and I'm trying to > mapping some oracle datatypes. For now I'm focusing on VARRAY and with > the current version of IBatis I'm ab

Re: Mapping oracle data types

2007-11-29 Thread Larry Meadors
I'd try a type handler. Larry On Nov 29, 2007 5:20 AM, Giovanni Cuccu <[EMAIL PROTECTED]> wrote: > Any comments on this? > Thanks, > Giovanni > > > On Nov 14, 2007 3:12 PM, Giovanni Cuccu <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm currently using ibatis 2.3 with Oracle and I'm trying

Re: Mapping oracle data types

2007-11-29 Thread Giovanni Cuccu
The type handler, in its current form, it's not enough to map out parameters since it does not allow to register out parameters before issuing the call. I've sucessufully create a typehandler that manages IN varray and, as far as I can understand, ibatis is not able to support such Oracle kind of t

Re: Mapping oracle data types

2007-11-29 Thread Jeff Butler
Giovanni - feel free to create a patch and attach it to a JIRA issue. Make sure to include some tests! Jeff Butler On Nov 29, 2007 8:26 AM, Giovanni Cuccu <[EMAIL PROTECTED]> wrote: > The type handler, in its current form, it's not enough to map out > parameters since it does not allow to reg