I have two DBMSs, but the underlying hibernate project is only one. Till now both of the DBMSs are in sync and have no issues with the hibernate project. But now I want to add a new table (or a column) only in one of DBMS and don’t want hibernate to end with an exception when it runs on the other DBMS stating TableNotFoundException or such. How can I make hibernate to get over a missing table (or a column) without crashing the application??
(although it seems unlikely to me) Does the JPA application use both db’s at the same time, like are there 2 data sources? What is the applications’ jpa setup? Multi tenancy?
If there is no entity relation with the missing table and there is no schema validation, I think there would be no issue at runtime. As long as the table/entity is not touched