I need to configure Hibernate with mysql and want to create two schema with relation.
Schema1 --- Table1 --- Table2
Schema2 --- Table1
Schema1.table has relation with schema2.table1.
How can I achieve this with hibernate and what kind of configuration I need to create.Which kind of notation I need to use with pojo.
see the hibernate use guide:Hibernate ORM 5.2.11.Final User Guide
Retrieving data ...