Re: Mixing OO and DB
Date: Fri, 29 Feb 2008 00:42:01 -0800 (PST)
> >> ... traversal is done by object
> >> reference rather than by some subset of object state
> > So whatever you think you are saying your subconscious is
> > following pointers.
> I tried to be very clear with what I was saying. In the large OO
> systems that I've worked on, there was no problem with proliferation
> of finder methods in practice.
In applications there problem with proliferation of finder methods doesn't exists, the find methods have to be very simple, like "select * from employee where id=?". Otherwise the problem do exists.
> Typically, once a core set of objects
> have been instantiated, access to related objects is via reference
> rather than repeated, explicit database access.
And obviously introducing synchronization issues...
//frebe Received on Fri Feb 29 2008 - 09:42:01 CET