ArrayIndexOutOfBoundsException at 1:N relationship

2006-02-01 Thread gbeutler
Hi, I have a problem with a java.lang.ArrayIndexOutOfBoundsException: 1 I have the following: class A { Integer pkA }; class B { Integer pkA // is PK Integer pkB // is PK too Integer otherField; }; B has 2 primary key fields and A only one. So the first field pkA of Class (and table ) B is th

sql tree mapping problem with stack overflow

2006-01-13 Thread gbeutler
Hi, I am using OJB 1.0.0.. I have a stack overflow when loading tree dependencies: create table A ( id integer primary key, parent_id integer foreign key A (id) ); Then there is a class class A { int a; int parent_id; A parent; Collection childCol; }; and a ojb mapping: