• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modify Primary-key?

 
Aleks V. Pascoal
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
I have a table with a primary-key composed of 3 fields. I want to change one of then, how can I do that? The specification says that i can you sets to fields of the primary-key clas, so? My temporary solution is removing and creating the entity again with the new primary.
Thanks.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The primary key value of the entity should not be changed as per the spec.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic