Hi!

Aaron Mulder wrote:
>         PK of child bean has 2 fields (foo, bar).  Parent declares
> findByFoo that finds all parents that have a child with foo set to
> whatever the argument is.  With handles, you can't do this because you
> don't have enough info (you lack bar) to build a PK and look up a child
> and get a handle.  With PK fields in the DB, it's trivial.

Aaaahhhh, tricky :-) Nice.

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to