Hello , some products developed by JDBC ,
So we cannot use ObjectDB.
My idea is , you can make JDBC To ObjectDB wizard compiler or something like this.
You can eliminate JDBC Requests from Java Code.
It can be Intellij or Eclipse IDE plugin for ObjectDB.
It dedects strings and combinations like
"insert into ObjectT values('hasan','test')" to
ObjectT obj = new ObjectT("hasan","test");
em.persist(obj);
Or you can make a tool for that.