datanucleus-core icon indicating copy to clipboard operation
datanucleus-core copied to clipboard

Update lifecycle transitions for datastores that don't support transactions (so commit/rollback)

Open andyjefferson opened this issue 8 years ago • 0 comments

It would be desirable for the lifecycle transitions to better respect when a datastore doesn't support transactions. For example, if makePersistent is called then this is effectively going to put the object in the datastore and not allow it to be rolled back (i.e roll back does nothing). There are likely various use-cases to be worked through here. See jdo/general "StateTransitionsTest"

andyjefferson avatar Apr 11 '16 07:04 andyjefferson