Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does JPOX store information in the database that it requires ?

database JPOX requires store
0
10 Posted

Does JPOX store information in the database that it requires ?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.