Re: Mixing OO and DB

From: David Cressey <cressey73_at_verizon.net>
Date: Mon, 03 Mar 2008 15:37:11 GMT
Message-ID: <HWUyj.1356$LK3.39_at_trndny02>


"Dmitry A. Kazakov" <mailbox_at_dmitry-kazakov.de> wrote in message news:44r7ylqm84gi.1myskpt4p0u08$.dlg_at_40tude.net...
> On Sun, 2 Mar 2008 12:47:41 -0600, Robert Martin wrote:
>
> > Employee.find("Bob") is a lot easier to
> > understand than Select * from Employee_Table where Name = 'Bob';
>
> Employees ("Bob")
>
> But, select yields a set _{e}_, find does an element _e_ of. Implicit
> casting {e} <-> e is a very bad idea. Type systems are to prevent such
> things.
>

Strongly agreed. This is the biggest problem I have with MV. Received on Mon Mar 03 2008 - 16:37:11 CET

Original text of this message