Charles,
Yes and now on the nth reading it is starting to make sense. I had seen the proxy stuff for collections but missed it for singles.http://db.apache.org/ojb/tutorial3.html#using%20proxy%20classes discusses the use of proxies in detail.
This does sound quite interesting, it is code you would be able to share with the project. I think I can see places where it would be useful.Our Object model couldn't support that (not in a maintanable way), so what we've done is to write a RelationshipHelper class that lazily loads a relationship on demand.We then implement the getter on the persistence class a bit like this : public Country getCountry(){ RelationshipHelper.lazyLoad(this,"country"); return country; }
Dave
--
David Warnock, Sundayta Ltd. http://www.sundayta.com
iDocSys for Document Management. VisibleResults for Fundraising.
Development and Hosting of Web Applications and Sites.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
