I updated my Spring boot version and that caused the hibernate version to update as well. These are the versions:
Spring boot - 2.7.0
Hibernate-core - 5.6.9
Hibernate-envers - 5.3.20.Final
It was updated from Spring boot version 2.3.9.RELEASE
and Hibernate-core version 5.4.28
.
When I run the test suite, I see the error Table REVINFO not found
:
Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "REVINFO" not found; SQL statement:
alter table insights.templateTable_aud add constraint FK9dw2kc3x0ti0c559slp64avtx foreign key (rev) references revinfo [42102-212]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:502) ~[h2-2.1.212.jar:2.1.212]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:477) ~[h2-2.1.212.jar:2.1.212]
I tried creating the revinfo table in my schema.sql
but I still get the same error. Any idea what might be wrong?