JDO Method
in javax.jdo.PersistenceManagerFactory

void setReadOnly(
  boolean flag
)


Sets the value for whether the datastore is to be considered read-only.

ReadOnly set to false specifies that no updates can be performed to the datastore, and if updates are attempted a JDOReadOnlyException is thrown.

See Also:
getReadOnly()
Since:
JDO 2.2