Rollback

At rollback, persistent-nontransactional instances do not change their state. If instances have been read nontransactionally, they remain in the persistent-nontransactional state at rollback.

At rollback, persistent transactional instances transition to new states, based on the setting of the RestoreValues flag. There is no difference between datastore and optimistic transactions in this regard.

Get Java Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.