Hello Cristof, > -----Original Message-----
> > > >> i have some problems with proxies. I got a 1:N relationship > >> between two classes. > > > > which OJB version do you use? > > As far as i can remember it should be cvs just before the > prevayler checkins. cf. developer list thread "superflous, long queries in CVS HEAD (Batch retrieval)" This seems to be the same problem. Three solutions: 1. downgrade to rc4 or earlier 2. In class org.apache.ojb.broker.core.PersistenceBrokerImpl, about line 130, change private boolean autoPrefetch = true to private boolean autoPrefetch = false to switch off the feature that introduced the problem. 3. upgrade to the newest version, Oleg says it has been fixed (I have not had time to check myself.) Please tell us if this worked. One more question: Which is the type of the primary/foreign key? Is it a Java wrapper type such as Integer? Olli --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
