Re: Mixing OO and DB
Date: Fri, 29 Feb 2008 00:42:01 -0800 (PST)
Message-ID: <47f033b3-a99a-4507-b0bf-e275f78910c1_at_h25g2000hsf.googlegroups.com>
> >> ... 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