The book I'd recommend is Enterprise Java Beans from the O'Reily press.
The general guideline for compound primary keys is that your primary key
class should have multiple fields, all of which match fields in the
actual entity bean class.

-Charles

Roman Porotnikov wrote:

>
>
> Hi All,
>
> I want to implement CMP Entity EJB that maps to DB table with compound
>
> primary key (that consists form several table fields).
>
> Where can I search for some guidelines for such problem:
> how to implement my primary key class in this case?
>
> I do not want to use single table field to store my compound primary
> key,
> because I already have table structure, and I can not change it for my
>
> task.
>
> --
> Regards,
> Roman



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

Reply via email to