Same table name in 2 different schema mapped to single entity causes the issue. Tried using Hibernate version 5.1.10.Final & 5.2.15.Final If we modify table name, it works. However this can't be done in my case.
Is there any workaround for this ?