I don't know what is better.
With my method, we just need to extend the data object without worring about
the peer.
In MyAddress I use AddressPeer and not the MyAddressPeer. I don't have to
write a new Peer class. By this way I don't write code so I don't write
bugs.
The problem I see with your method is if we change the database structure.
We can regenenrate the OM Layer but the MyAddressPeer.createObject() will
have to be modify manually to suit the changes.
Herv�
----- Original Message -----
From: Fedor Karpelevitch <[EMAIL PROTECTED]>
To: Turbine <[EMAIL PROTECTED]>
Sent: Thursday, September 21, 2000 10:54 PM
Subject: Re: Newtorque proposals - contribution proposal
>
> > > this way, if you simply want MyAddressPeer.doSelect to return a
vector
> of
> > > MyAddress all you need to do is to overload createObject():
>
> shame on me. of course I meant "override" not "overload". I guess that's
> what caused your confusion...
>
> fedor.
>
>
>
>
>
> _______________________________________________________
> Say Bye to Slow Internet!
> http://www.home.com/xinbox/signup.html
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]