Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What does "closure of the instance" in JDO mean?

 
Edward Winchester
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm learning JDO and trying to understand the PersistenceManager.deletePersistent() method. The Javadoc has this paragraph:


Delete the persistent instance from the data store. This method must be called in an active transaction. The data store object will be removed at commit. Unlike makePersistent, which makes the closure of the instance persistent, the closure of the instance is not deleted from the data store. This method has no effect if the instance is already deleted in the current transaction. This method throws JDOUserException if the instance is transient or is managed by another PersistenceManager.


I don't understand what "closure of the instance" means. Can anyone explain for me?

Thanks,

Edward
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic