How to check that ObjectDb licenses are activated?

#1

Hi Support,

I have added license keys to objectDb.conf file and according to https://www.objectdb.com/forum/1384 I tried to check the activation status using following code

EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:myDbFile.odb" );
boolean isRegistered = emf.createEntityManager().createQuery("objectdb activation", boolean.class).getSingleResult();

But for v2.8.4 it's always returns FALSE. Please provide information how to programmatically could be checked license status?

#2

Are you sure version 2.8.4 is different from other versions?

Activation often fails because the activation key is set in a different configuration file than the one that is actually used by ObjectDB.

ObjectDB Support

Reply