# How to handle dropped tables Hibernate

**URL:** <https://discourse.hibernate.org/t/how-to-handle-dropped-tables-hibernate/4522>\
**Category:** Hibernate ORM\
**Created:** [August 27, 2020, 4:04am UTC](https://discourse.hibernate.org/t/how-to-handle-dropped-tables-hibernate/4522 "2020-08-27T04:04:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![devjul](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@devjul](https://discourse.hibernate.org/u/devjul)\
**Post date:** [August 27, 2020, 4:04am UTC](https://discourse.hibernate.org/t/how-to-handle-dropped-tables-hibernate/4522/1 "2020-08-27T04:04:53Z")

</div>

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??

---

<div class="post-metadata">

**Author:** ![rob-valor](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/rob-valor/32/1177_2.png) [@rob-valor](https://discourse.hibernate.org/u/rob-valor)\
**Post date:** [August 29, 2020, 4:04pm UTC](https://discourse.hibernate.org/t/how-to-handle-dropped-tables-hibernate/4522/2 "2020-08-29T16:04:03Z")

</div>

(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_
