Explorer and multi-thread


When I use explorer.exe to browse the database in objectdb, eclipse tells me another app occupy it, then how can objectdb support multi-thread?

Institute of Computer Technologies

Multithreading refers to the ability to use the same database in multiple threads of the same process (same JVM) simultaneously. This is supported by ObjectDB in both embedded mode and client-server mode.

However, if you try to open the Explorer and view a database that is currently in use by anther process - you need the ability to access the same database from different processes (using different JVM instances, and maybe even different computers). This is only supported in client-server mode.

Therefore, to see the content of the database in the Explorer while it is in use you will have to switch to client-server mode.

See also a related forum thread and a related feature request.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login