Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Remove entity objects

 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
I want to know about the container's process when users remove one or more entity objects.
The specification (Chapter 10.3.4.1) said that
" ..., the Container must remove the entity object from all relationships in which it participates, and then remove its persistent representation."
What about if there is error when container remove the data in persistance storage?
Is will Contaner create again the entity object with the last values?
thanks
daniel
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The container probably does all of this within a transaction and performs a rollback to all changes if the last step fails.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic