Absolutly right Erik. Thanks you !
And you solve by the way the error of this topic where rberehoudougou uses a productId cmp field and a productID in its primary key class : the same "d" lower and upper case. Probably a bad natural reflex on the keyboard (the timing for pressing "shift" when you go fast).
I apologize for not thinking before drawing sometimes. So, don't be severe on me, just call back me to order when i'm in delirium.
I'm going to scourge myself in the cellar, hopping not reiterate.
I do appreciate Ironbird's comments in other threads. Just be careful when and how you post. And think whether you would trust a forum which contained false statements and misleading info.
rberehoudougou:
You did the same thing. Your CMP field used a lower case 'd':
<cmp-field> <field-name>productId</field-name> </cmp-field>
public String productID;
In the PurchaseOrderBean class, the following access methods define the persistent fields (vendorId and productModel) that make up the primary key: public abstract String getVendorId(); public abstract void setVendorId(String id); public abstract String getProductModel(); public abstract void setProductModel(String name);(http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/CMP8.html#72960)