Actually, in the Invoice bean class, you should declare the following method that represents the invoicePositions CMR field: public abstract Collection getInvoicePositions(); The returned Collection will contain InvoicePositionLocal references.
And now, your deployment descriptor should look like:
Note that you can freely change the content of ejb-relation-name, ejb-relationship-role-name.
Can I map the CMR Field getInvoicePositions() to a PrimaryKey field ? I get always an error. Is it possible to use Number of the PK for the CMR field ??? (If it is possible, then I have to read the jonas documentation twice).
Or have I to insert an own column for the CMR filed, that holds the same value as the Number of the PK (I thik not)???
SCJP, SCWCD, SCBCD<br /> <br />Vienna, Austria
Wink, wink, nudge, nudge, say no more, it's a tiny ad: