[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Overload List



NameDescription
OpenFile(IConfiguration, String)
opens an ObjectContainer on the specified database file for local use.

A database file can only be opened once, subsequent attempts to open another ObjectContainer against the same file will result in a DatabaseFileLockedException .

Database files can only be accessed for readwrite access from one process (one Java VM) at one time. All versions except for db4o mobile edition use an internal mechanism to lock the database file for other processes.

OpenFile(String)
Operates just like Db4objects.Db4o.Db4oFactory.OpenFile , but uses the global db4o Configuration context. opens an ObjectContainer on the specified database file for local use.

A database file can only be opened once, subsequent attempts to open another ObjectContainer against the same file will result in a DatabaseFileLockedException .

Database files can only be accessed for readwrite access from one process (one Java VM) at one time. All versions except for db4o mobile edition use an internal mechanism to lock the database file for other processes.