I was previously using Hibernate Core 4.2.18 and now migrated to Hibernate Core 5.3.20. Facing issue with entities where table annotation is declared as following:
This results in java.lang.RuntimeException: Unexpected status FAILED (javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet When I change the annotation to:
, it starts working fine. I could not find any such change listed in Hibernate migration guide. Is “@Table(name = XX, schema = XX)” not supported anymore ? |