Thanks for the quick response.

>    Are you sure it is really an endless loop?
At this point, I'm working with a test database that has only 17 ChartAccount 
objects.  After 10 minutes, it seems reasonable to conclude that the loop 
will never complete.

Another piece of information:  calling ChartAccount.registerChildren() outside 
of init completes quickly, whereas calling the same function inside init 
never completes.

>    Every time you loop over .children SQLObject calls children._init() for
> every children which in turn draws grandchildren, etc. So it seems you are
> trying to draw the entire DB at once.
Yes, I suppose I'll need to find a more scalable method that avoids 
exponential blowup, but for now I'm just experimenting with the concept.

Thanks for any insight,
Chris


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to