|
DataNucleus accepts a large number of
persistence properties for use when defining
either a
PersistenceManagerFactory
or an
EntityManagerFactory
.
For DB4O datastores there are several additional properties. These are listed here. Bear in mind that
these only work with DataNucleus, and not with any other JDO/JPA implementation.
|
datanucleus.db4o.outputFile
|
|
Description
|
Name of a file where DB4O will output its log information
|
|
Range of Values
|
|
|
datanucleus.db4o.flushFileBuffers
|
|
Description
|
Whether DB4O should flush its file buffers on commit of the transaction.
|
|
Range of Values
|
true
| false
|
|
datanucleus.db4o.generateUUIDs
|
|
Description
|
Whether DB4O should generate UUIDs for objects of all classes
|
|
Range of Values
|
true |
false
|
|
datanucleus.db4o.lockDatabaseFile
|
|
Description
|
Whether DB4O should lock the database file
|
|
Range of Values
|
true
| false
|
|
datanucleus.db4o.automaticShutdown
|
|
Description
|
Whether DB4O should provide automatic shutdown
|
|
Range of Values
|
true
| false
|
|
datanucleus.db4o.internStrings
|
|
Description
|
Whether DB4O should intern any strings
|
|
Range of Values
|
true |
false
|
|
datanucleus.db4o.exceptionsOnNotStorable
|
|
Description
|
Whether DB4O should throw an exception on finding a non-storable object
|
|
Range of Values
|
true |
false
|
|
datanucleus.db4o.optimizeNativeQueries
|
|
Description
|
Whether DB4O should optimize native queries
|
|
Range of Values
|
true
| false
|
|
|