40 words

setReadOnly(flag) - JDO PersistenceManagerFactory's method

Method
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.

Parameters:
flag -
Since:
JDO 2.2
See Also:
getReadOnly()

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.