Thank you for the link to the class enhancing confirmation checking code. (It helped me find a build order priority issue. I will also use the technique to put a safety check into our application.)
Yet, I STILL see the issue even after confirming that ObjectDB class enhancing has indeed been performed.
I have this at the entry to my application:
public static void main(String[] args){
// todo start
JdoDatabase jdoDatabase = new JdoDatabase(JdoEntity.toJdoIdDatabase(), "Test");
if(jdoDatabase instanceof com.objectdb.spi.SignedType) System.out.format("ObjectDB class enhancing HAS been " +
"performed."); else System.out.format("ERROR! ObjectDB class enhancing has NOT been performed.");
// todo end
...
I get the following output when I run on a different computer than the one that is building the application (the computer that is building the application has an ObjectDB OEM Activation code installed).
ObjectDB class enhancing HAS been performed.
[ObjectDB 2.7.2_04] javax.jdo.JDODataStoreException
Too many persistable types (>10) - exceeds evaluation limit (error 1011)
at com.objectdb/com.objectdb.jdo.JdoQuery.compile(JdoQuery.java:734)
at com.unilogical.moxydox.server/com.unilogical.moxydox.server.database.Database.getPersistenceManager(Database.java:1635)
at com.unilogical.moxydox.server/com.unilogical.moxydox.server.database.Database.mayUpdateDatabaseSchema(Database.java:1700)
at com.unilogical.moxydox.server/com.unilogical.moxydox.server.database.Database.startup(Database.java:1538)
at com.unilogical.moxydox.server/com.unilogical.moxydox.server.Main.startOffloadJavaFx(Main.java:522)
at com.unilogical.moxydox.server/com.unilogical.moxydox.server.Main.lambda$start$3(Main.java:337)
at com.unilogical.moxydox.server/com.unilogical.moxydox.server.BackgroundThread.run(BackgroundThread.java:148)