This one time, at band camp, August Detlefsen said:
AD>Hi, I am trying to get a many-many join working and I am running into a
AD>java.lang.StackOverflowError.
AD>
AD>I have two Objects: Charity and Category. I want the Charity Object to
AD>include a Vector of the Categories to which it belongs and vice versa.
AD>I have tried mimicing the code in both src/examples/jdo and
AD>src/test/jdo, but both cases create circular loops that seem like they
AD>are loading my whole DB.
AD>
AD>We have over 5000 charities in over 100 categories, so that would
AD>explain the StackOverflow. Is there any way to prevent this?
AD>
AD>The stack trace, log output, java code and mapping files are all
AD>included below. Any help would be appreciated.
August,
I've been working to expand the examples to utilize more of Castor
JDO's features, one of which is many-to-many. However, I'm not sure
when I will get these to a point that I feel I can check them in
to CVS.
You could use lazy loading to alleviate your loading problem.
Bruce
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev