Hi,

I modeled a Bill Of Material using entity bean Product and entity BillOfMat. In BillOfMat there should be a field masterProduct and a field componentProduct, both holing a reference to ProductLocal interface. This worked so far.
But I had to define a primary key and I use a generated String for that. But the masterProduct and componentProduct form a PK already, so I do not want to use an additional field which only is used as a key. How can I define the CMR field as part of the primary key.

TIA
Frank