You, the Java configuration file, reference the database here:

So, the part "postgres" in "jdbc: postgresql: // localhost: 5432 / postgres" of your configuration file refers to the red box that I painted here in PostgreSQL / pgAdmin:

I suggest you create a new database and move the schemas and tables that you do not want Hibernate to touch this database.
Since every time hibernate connects to pgAdmin, it will access the database that you set in your configuration file, and the settings that you have in the configuration file will be applied to this database.
To create a new database in pgAdmin, right-click on Databases and go to "New Database". Here is the image:

source share