Hi Bruce

Gosh, that is quite a good idea! I'll think about that and get back to you.

Thanks
Keith C



-----Original Message-----
From: Bruce Snyder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 17 October 2001 4:47 p.m.
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] advise


This one time, at band camp, Hudson Wong said:

HW >Do you think that the following query may solve the problem?
HW >
HW >select u
HW >from User u
HW >where u.password.id = $1
HW >
HW >while $1 is the password identifier and so on
HW >

Another approach is to store the id of the Password object in the User
object.
This allows for a pseudo bi-directional navigation of the objects. I've used
this approach in the past for this specific purpose. This does require more
overhead, but it's a tradeoff - which is more important here,  the overhead
or the functionality?
--

perl -e 'print
unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to