> > 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.
I'm not talking about the EJB 1.1 specs, but the EJB model where a
finder returns a primary key. The EJB server has no clue which entity
bean type it is, given just the primary key.
How do you get around it? Do you return the primary keys and guess which
type they are, or do you return the actual entity beans from the finder?
arkin
>
> Cheers,
> Laird
--
----------------------------------------------------------------------
Assaf Arkin www.exoffice.com
CTO, Exoffice Technologies, Inc. www.exolab.org
===========================================================================
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".