tzaeschke / zoodb

ZooDB Object Database
Apache License 2.0
57 stars 9 forks source link

refresh() and refreshAll() should NOT undelete deleted objects #50

Closed tzaeschke closed 9 years ago

tzaeschke commented 9 years ago

JDO specifies that PERSISTENT_NEW_DELETED and PERSISTENT_DELETED objects should remain unchanged when they are refreshed and that NO error should be thrown.

Currently ZooDB throws an JdoUserException, see Test_041_TransactionsCommit

tzaeschke commented 9 years ago

Fixed in 54c645d83fcee6e8107cf1da9738b2d8115aeaad