|
I have a hibernate application for which unit tests have started failing after upgrading from Hibernate 4.2.11 to Hibernate 5.0.1. The failure appears to be that Hibernate is trying to create a sequence, when one already exists.
The relevant stack trace is below.
I have been able to fix this locally by patching my HibernateTenSevenDialect to add the following:
@Override
public String getQuerySequencesString() {
return "select SEQUENCENAME from sys.syssequences";
}
|