"Rebuild Class Indexes" from the command line?



Is there a way to "Rebuild Class Indexes" from the command line?

I have just added a new index and want to make sure the DBs with previously persisted entities have a BTree with all entities.





Rebuilding an index currently requires running the ObjectDB Doctor, which is run from the command line.

ObjectDB 1.x included an Explorer command (mentioned in that documentation page) but it is currently not implemented in ObjectDB 2.x.

Update: Starting ObjectDB 2.6.6 new indexes are automatically built and activated in the background.

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

Post Reply

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