Spring boot 在SYSCAT type*文件中找不到AS400/JDBC/SpringData:[SQL0204]序列

Spring boot 在SYSCAT type*文件中找不到AS400/JDBC/SpringData:[SQL0204]序列,spring-boot,hibernate,spring-data-jpa,jtopen,Spring Boot,Hibernate,Spring Data Jpa,Jtopen,我在启动SpringBoot应用程序时遇到了这个异常 找不到SYSCAT type*文件中的com.ibm.as400.access.AS400JDBCSQLSyntaxErrorException:[SQL0204]序列 这个问题似乎是在Hibernate在中调用时出现的 public Iterable<SequenceInformation> extractMetadata(ExtractionContext extractionContext) throws SQLExcept

我在启动SpringBoot应用程序时遇到了这个异常

找不到SYSCAT type*文件中的com.ibm.as400.access.AS400JDBCSQLSyntaxErrorException:[SQL0204]序列

这个问题似乎是在Hibernate在中调用时出现的

public Iterable<SequenceInformation> extractMetadata(ExtractionContext extractionContext) throws SQLException {
...
        final String lookupSql = extractionContext.getJdbcEnvironment().getDialect().getQuerySequencesString();
我们的系统上没有SYSCAT库,只有SYSCAT1和SYSCAT2。序列在QSYS2中。堆栈的某些部分是否认为它在另一个平台上?这段代码在不久前还可以工作,但是升级框架就产生了这一点

环境

iSeries at V7R2M0
IBM Java Toolbox JDBC driver 10.5
JavaSE 1.8 (jdk 1.8.0_241)
All Spring framework dependencies from SpringBootInitialzr this week (Spring-Data-JPA for data)
SpringBoot 2.43, etc

我使用了错误的SQL方言。出于其他目的,我对DB2Dialect进行了子类化。一旦我改为DB2400,应用程序就正确启动了。此应用程序以前可以工作,但在框架升级后出现了此问题。不确定发生了什么变化,但解决了问题

iSeries at V7R2M0
IBM Java Toolbox JDBC driver 10.5
JavaSE 1.8 (jdk 1.8.0_241)
All Spring framework dependencies from SpringBootInitialzr this week (Spring-Data-JPA for data)
SpringBoot 2.43, etc