Assaf Arkin wrote:
> Assuming that bean B extends bean A, finders from A return only
> instances of A. Finders from B return only instances of B.
Right.
> What you want is for finders of B to return both instances of A and B.
No, I want finders of A to return instances of both A and B. That is, I want
Party finders to return all Party records as well as all Individual and Company
records.
> My question is, since finders of B return primary keys, how, from the
> primary keys can you determine if a given instance is A or B? I can't
> see that working.
Can't do it with the current EJB specification. However, we have this working in
house with something that sits on top of the EJB spec. We may be giving a
presentation on it at Java One. I'll let you know.
Cheers,
Laird
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".