I created and subitted a patch today. I don't know when will be accepted in the svn. Giovanni
On Wed, Jul 16, 2008 at 9:56 PM, Sundar Sankar <[EMAIL PROTECTED]> wrote: > Hi Giovanni, > Thanks for the effort. Can you let me know when the patch is > in, I will download the latest and try it out. > > Thanks > -Sundar > > On Wed, Jul 16, 2008 at 12:33 PM, Giovanni Cuccu <[EMAIL PROTECTED]> > wrote: >> >> Hi, >> IIRC it's not possible to map custom out oracle parameters in >> iBatis. I did the investigation in the 2.3.0 code, the fix was not too >> hard. I'll try to create an issue in Jira and attach a patch, but I >> can't promise anything. >> Giovanni >> >> On Wed, Jul 16, 2008 at 7:04 PM, Sundar Sankar <[EMAIL PROTECTED]> >> wrote: >> > Hi All, >> > I am using Typehandler for Oracle user defined databases. The >> > typehandler seems to be invoked when the mode is "IN" and never called >> > when >> > the mode is "INOUT". I saw a post mentioning a similar issue >> > >> > http://www.mail-archive.com/[email protected]/msg07216.html >> > >> > I tried Larry's suggestion of changing jdbcType to "Struct" and running >> > the >> > proc. The Typehandler still doesnt seem to get called. Is there >> > something >> > wrong I am doing. >> > >> > ========= >> > My Configs >> > ========= >> > >> > 1. In SQLMap Config >> > >> > <!--originally --> >> > >> > <typeHandler callback="myTypehandler" javaType="myTypehandlerModel" >> > jdbcType="ORACLEDATABASEUSERDEFINEDTYPENAME" /> >> > >> > <!-- Changed to --> >> > >> > <typeHandler callback="myTypehandler" javaType="myTypehandlerModel" >> > jdbcType="STRUCT" /> >> > >> > 2. SQLMAp File >> > >> > <!-- originally --> >> > >> > <parameter property="propertyName" >> > jdbcType="ORACLEDATABASEUSERDEFINEDTYPENAME" >> > javaType="myTypehandlerModell" mode="INOUT" /> >> > >> > <!-- Changed to --> >> > >> > <parameter property="propertyName" jdbcType="STRUCT" >> > javaType="myTypehandlerModell" mode="INOUT" >> > typeName="ORACLEDATABASEUSERDEFINEDTYPENAME"/> >> > >> > What am I Doing wrong here?? >> > >> > -Sundar >> > >> >> >> >> -- >> -------------------------------------------------------------------- >> "You don't know the power of dark side" - Darth Vader > > -- -------------------------------------------------------------------- "You don't know the power of dark side" - Darth Vader
