Does JPOX store information in the database that it requires ?
JPOX, by default, will create a single table in the datastore for storing meta information regarding which classes and tables it is managing. This has the name “JPOX_TABLES”. This behaviour can be turned off by setting the property “org.jpox.autoStartMechanism” to “none”. This will have the effect of not creating and updating this table, but will also mean that whenever JPOX is restarted it will start with no knowledge of which tables/classes it was managing the previous time around. Alternatively you could use a different “auto-start” mechanism. In addition to the “JPOX_TABLES” table, the only things that JPOX will create, other than the basic tables are the following • On all tables with “datastore” identity, it will add a primary key with a name like “table-name”_ID. If you have any fields in your class that will clash with this, you can specify MetaData tags to change this name. • When you specify relationships, the relationship may require a “join” table to be created to model the