Deadlock on Schema Update during Multithreading activity

Type: BugVersion: 2.5.0Priority: NormalStatus: FixedReplies: 1
#1

A possible deadlock was detected when new types are registered during multithreading activity against ObjectDB.

Until this issue is fixed, the recommended workaround is to complete registration of all the persistable types before starting any multithreading activity against ObjectDB.

A single class can be registered by:

    emf.getMetamodel().entity(MyClass.class);

All the classes can be registered by:

    emf.getMetamodel().getManagedTypes();

The last command will work when ObjectDB can find managed classes automatically.

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

Version 2.5.1 should fix this issue.

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

Post Reply

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