<xml> </xml>

db4o |

# Configuration.AllowVersionUpdates Method

turns automatic database file format version updates on.

void AllowVersionUpdates(
bool flag
);

#### Remarks

turns automatic database file format version updates on.
Upon db4o database file format version changes, db4o can automatically update database files to the current version. db4objects does not provide functionality to reverse this process. It is not ensured that updated database files can be read with older db4o versions. In some cases (Example: using ObjectManager) it may not be desirable to update database files automatically therefore automatic updating is turned off by default for security reasons.
Call this method to turn automatic database file version updating on.
If automatic updating is turned off, db4o will refuse to open database files that use an older database file format.

#### See Also

Configuration Interface | com.db4o.config Namespace