datanucleus-core
datanucleus-core copied to clipboard
Update lifecycle transitions for datastores that don't support transactions (so commit/rollback)
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"