Re: ArrayIndexOutOfBoundsException at 1:N relationship

2006-02-01 Thread Guido Beutler
Hi, please forget all I wrote :) I had a error at the definition of the pk of A. A second row was defined as primary key too. I think that I ran in this problem during my tests. This maybe why the autoload was working when I started. With the invalid pk definition the test case wouldn't

Re: Problems upgrading to ojb1.04

2006-02-01 Thread Thomas Dudziak
On 2/1/06, Milisic Aleksandar [EMAIL PROTECTED] wrote: Problem solved. For future reference if anybody runs into this problem, the torque.delimiter in build-torque.xml needs to be set to / since the generated SQL uses the / to separate sql statements. Perhaps this should be somewhere in

Problem with signed applet.

2006-02-01 Thread alessandro olivieri
Hi, I'm using ojb 1.0 rc1 in a signed applet. Without warning, this applet is not working when I try to modify repository.xml. The error message is: [BOOT] ERROR: Error in instantiation of PersistenceBrokerFactory class Could not read repository class descriptor data, using repository:

Re: Problem with signed applet.

2006-02-01 Thread Dennis Bekkering
the applet can propbably not find the repository in it's class path. Try to stuff everything in a jar and use that jar instead of a single class. 2006/2/1, alessandro olivieri [EMAIL PROTECTED]: Hi, I'm using ojb 1.0 rc1 in a signed applet. Without warning, this applet is not working when I

Re: Problem with signed applet.

2006-02-01 Thread alessandro olivieri
I have create a jar with my applet and all business function, including or not my repository.xml, i have signed this jar, but the result is always the same: [BOOT] ERROR: It seems that the problem happens only if I change my repository. From: Dennis Bekkering [EMAIL PROTECTED] Reply-To:

RE: solution for subqueries returning values

2006-02-01 Thread Manukyan, Sergey
Hi Jacob, Every relation is defined. But in the report queries I can only specify the columns in String[] {}, I wish I could specify the queries as well and pass it in Object[] {}, just like it is done for Criteria methods. F.e : Query qB = QueryFactory.newReportQuery(B.class); // SELECT

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