db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noctarius ...@noctarius.com>
Subject Re: template changes to add filler methods
Date Tue, 21 Jun 2011 18:15:34 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Thomas,

I guess this could be achieved by using managers, won't it?

Bye, Chris

Am 21.06.2011 19:30, schrieb Thomas Vandahl:
> On 19.06.11 13:57, Thomas Fox wrote:
>> Any objections or comments to the above ? If not, I'll commit the changes
>> in a few days.
> 
> If I understand the concept correctly, this is one more method to deal
> with related entities. Each of them may have its advantages and
> disadvantages, however I'm afraid it gets a bit crowded in the Peer
> classes. WDYT?
> 
> One more (related) thing: Other ORM tools provide the feature that an
> object with the same primary key is actually always the same object
> instance, IOW:
> 
> Book b1 = BookPeer.retrieveByPK(1);
> Book b2 = BookPeer.retrieveByPK(1);
> 
> will yield b1 == b2 while Torque only achieves b1.equals(b2) Do we have
> some way to handle this? Or is this completely off?
> 
> Bye, Thomas.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-dev-help@db.apache.org
> 


- -- 


##############################
# A Digital's Life           #
##############################
Nickname: Noctarius
Location: Germany

Meet me at:
Ohloh: http://www.ohloh.net/accounts/noctarius
Web: http://www.noctarius.com
XMPP/Jabber: noctarius@jabber.ccc.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOAN/FAAoJEH/g+YBfahrqmcIP/3vjG8hFvCxVAz8ITGbn/Oxr
1bn8OW+qvnpBdiEgEVEPPmcUuj00+dJ6je54NVY6CDe+PpjlGcxs1GqompVoebV6
MVRSG3Si4FcSBarQywIurQqx07GwEXVYAG0Ly2zvt7thKn/leNiCY5a1DHnobXFz
LcdCgOnpm7Ar5823mFMY86TLzkIdXy8erxdG2+ThZ0sYWGiNMkhhc/LJHfDyrOg5
yPU9aMZYDHM9tXTc855PSlw4gLr6XPnsu59xxoz/Hq7fzY6/39tuO0t2D7t9fwXh
mombwffOM7BNKK27aX0jmZEPHbW5YQRw7xM6bnsneJ0iu1foDhPyU9DGP3J8pV+B
NVyOU1ZS7sOETIjgg1XX2gNNmprPvox9p+TP4ZO3p+sbesfQ2LiUVth5t/wjn/zl
Inj+q5WefDy2qfmPG+AZMGk2zQq+JzlnMipEClD3cikynuVYYZJKwOD3OjD33xOX
7xkHr1Y1f/qNQpoGfk6QvqE5yk6WGJBp9WhyxfaFCJymIOIW7gsLf/ld4o3mLjxR
tngu+jRjFFdurfWth69OLiI8P/+zzP6LuSjpWtSnFnRjJDU8wd8qxubk6ew+xE1t
XQZV2XlExYrZ+Sa+hl8g4jWvjpnQzNiv4/rqbS5pKTip6oT5FTSq4ShVu5xCTPF0
Nynl3bDE156NbUodisdw
=Cpw9
-----END PGP SIGNATURE-----


Mime
View raw message