Forums Register Login

CMP in Sun One App7, storing primary key issue

+Pie Number of slices to send: Send
I've got a simple one class CMP EJB app. I can create a new record, browse based on the primary key, etc... However, when I try and update a record, I get the following message:
com.sun.jdo.api.persistence.support.JDOUnsupportedOptionException: Update of a primary key field is not allowed.
has anyone come across this?
tia,
Mike
Did Steve tell you that? Fuh - Steve. Just look at this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 509 times.
Similar Threads
Reuse deleted record problem
Hibernate - saveOrUpdate = insert or update?
primary key class of entity beans?
Select and Update Together.
Wrap a record class
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:56:57.