The openjpa.MetaDataRepository configuration property controls the configuration of the MetaDataRepository. The following are valid properties:
Preload
: A boolean property. If true, OpenJPA will eagerly load the repository on
EntityManagerFactory creation. As a result, all Entity classes will be eagerly loaded by the JVM. If
false, the repository will be lazily loaded as Entity classes are loaded by the JVM. The default value
is false.
NoLock
: If true, the repository will be treated as a read only data structure and
minimal locking will be imposed on users. Preload must be set to true for OpenJPA to honor setting
NoLock to true. The default value is false.