Re: Custom Type Handler question

2005-05-17 Thread Sven Boden
Read it too quickly... so you have the problem before the parts I comment on. One further question: where do you set the return type as a cursor in your Ibatis version (the cstmt.registerOutParameter(1,OracleTypes.CURSOR) in the original version)? The problem with cursor types is that they are

Another custom type handler question

2005-05-17 Thread Ken Katsma
I posted this last night but I'm posting it again because I didn't see my mail come through on the mailing list. Do I have a gmail problem? Or are users not cc'd on their own posts? Now that I have the custom type handler executing correctly for the nested cursor, I have another question :)

Re: Custom Type Handler question

2005-05-16 Thread Clinton Begin
The answer to that question is yes (even if the parameterClass is specified). But is it meant to be part of this thread? Cheers, Clinton On 5/15/05, Ron Grabowski [EMAIL PROTECTED] wrote: If a parameterClass or parameterMap is not specified: select id=getQuartersForServiceYear

Re: Custom Type Handler question

2005-05-16 Thread Sven Boden
Ken, To get back to the original question, the problem you have lies in the part: public Object getResult(ResultGetter arg0) throws SQLException { System.out.println(Object: + arg0.getObject().getClass().getName()); ResultSet result =3D (ResultSet)

Re: Custom Type Handler question

2005-05-16 Thread Ron Grabowski
After re-reading this sentance in the development guide: The name value is simply a placeholder, you can use another moniker if you like. my comment probably wasn't all that relavent. On the flip side, IBatisNet doesn't adhere to the documentation in this regard. --- Clinton Begin [EMAIL