Issue Details (XML | Word | Printable)

Key: CORE-3245
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JPOX Core (ARCHIVED)

Read-Only datastore : ability to configure action when an update occurs

Created: 03/May/07 11:42 AM   Updated: 04/Jul/07 01:50 PM   Resolved: 03/May/07 12:41 PM
Component/s: Datastore Support
Affects Version/s: 1.1.7, 1.2.0-beta-2
Fix Version/s: 1.1.8, 1.2.0-beta-3


 Description  « Hide
Currently, when readOnlySchema is true any attempt to update a JDO persistent class mapped to the database results in a
DatastorePermissionException. What we need is a configuration setting that changes this behavior such that any such updates are simply ignored and JPOX does not even attempt to update the database at all. Is this possible?

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 03/May/07 12:41 PM
Now uses "org.jpox.readOnlyDatastoreAction" with values of EXCEPTION and IGNORE