I want to use two different schema in database, each schema has same set of Tables but data differs. How to use hibernate and point to two different schema.I am new to the h
From Hibernate 5,use catalog instead of schema to define schema while creating entity class.
@Table(name="TABLE_NAME", catalog="SCHEMA_NAME")
Through this case, you can handle multiple schemas.