setMultithreaded(flag) - JDO PersistenceManager's method
Set the Multithreaded flag for this PersistenceManager
. Applications that use multiple threads to invoke methods or access fields from instances managed by this PersistenceManager
must set this flag to true
. Instances managed by this PersistenceManager
include persistent or transactional instances of PersistenceCapable
classes, as well as helper instances such as Query
, Transaction
, or Extent
.
- Parameters:
-
flag
- the Multithreaded setting.
- Since:
- JDO 1.0