Problem with Stored Procedure OUT/INOUT not working for a parameter that is not at root-level of the parameter

2009-02-25 Thread Alex Sherwin
I'm observing behavior such that, say: { CALL $schema$.MY_PROCEDURE( #someRootValue1,javaType=java.lang.String,jdbcType=VARCHAR,mode=INOUT, #someRootValue2,javaType=java.lang.Long,jdbcType=BIGINT,mode=INOUT, #someObj.someSubValue1,javaType=java.lang.Long,jdbcType=BIGINT,

Recursive Select in SqlMap throws java.sql.SQLException: Exhausted Resultset

2009-02-25 Thread Sean Barbridge
Hi Guys, This is the first time I used Ibatis in a project and I'm stucked on this error. "Exhausted Resultset". My problem started when i designed my model class like the following: class MyObject { private String id; private String parentId; private String rootId; private MyObject r

Re: Updating/Deleteing Objects With One-To-Many Relationships

2009-02-25 Thread Seth Green
The second class was meant to be Car. Sorry for the typo. Thanks for the info, that is exactly what I wanted to know. On Feb 25, 2009, at 3:14 AM, Ingmar Lötzsch e> wrote: So, if I have class Person { int id; String name; List cars; } class Person { int id; String name; } H

Re: Updating/Deleteing Objects With One-To-Many Relationships

2009-02-25 Thread Ingmar Lötzsch
> So, if I have > > class Person { > int id; > String name; > List cars; > } > > class Person { > int id; > String name; > } Have you really two versions of class Person? > And I have 3 tables > > person ( > id, > name > ) > > car ( > id, > name > ) > > pe