Fabien Seznec (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5cc6397...
) *commented* on HHH-15890 (
https://hibernate.atlassian.net/browse/HHH-15890?atlOrigin=eyJpIjoiNzgzNT...
)
Re: springboot 3.0.0 + hibernate 6.1.5.Final + IBM DB2 error after migrating from
springboot 2.7.0 + hibernate 5.6.9.Final (
https://hibernate.atlassian.net/browse/HHH-15890?atlOrigin=eyJpIjoiNzgzNT...
)
Hello,
I have compiled locally and I can confirm that the issue is fixed in my minimal sample
projects for DB2Dialect and DB2iDialect.
Good job, thank you very much !
However, in my production project I run into this:
java.lang.StackOverflowError: null
at java.base/jdk.internal.misc.Unsafe.allocateUninitializedArray(Unsafe.java:1375)
at java.base/java.lang.StringConcatHelper.newArray(StringConcatHelper.java:494)
at
java.base/java.lang.StringConcatHelper.newArrayWithSuffix(StringConcatHelper.java:475)
at
org.hibernate.sql.ast.spi.AbstractSqlAstTranslator.emulateFetchOffsetWithWindowFunctions(AbstractSqlAstTranslator.java:2943)
at
org.hibernate.sql.ast.spi.AbstractSqlAstTranslator.emulateFetchOffsetWithWindowFunctions(AbstractSqlAstTranslator.java:2911)
at
org.hibernate.dialect.DB2SqlAstTranslator.visitQuerySpec(DB2SqlAstTranslator.java:170)
at org.hibernate.sql.ast.tree.select.QuerySpec.accept(QuerySpec.java:129)
at
org.hibernate.sql.ast.spi.AbstractSqlAstTranslator.emulateFetchOffsetWithWindowFunctions(AbstractSqlAstTranslator.java:2975)
at
org.hibernate.sql.ast.spi.AbstractSqlAstTranslator.emulateFetchOffsetWithWindowFunctions(AbstractSqlAstTranslator.java:2911)
at
org.hibernate.dialect.DB2SqlAstTranslator.visitQuerySpec(DB2SqlAstTranslator.java:170)
at org.hibernate.sql.ast.tree.select.QuerySpec.accept(QuerySpec.java:129)
at
org.hibernate.sql.ast.spi.AbstractSqlAstTranslator.emulateFetchOffsetWithWindowFunctions(AbstractSqlAstTranslator.java:2975)
at
org.hibernate.sql.ast.spi.AbstractSqlAstTranslator.emulateFetchOffsetWithWindowFunctions(AbstractSqlAstTranslator.java:2911)
at
org.hibernate.dialect.DB2SqlAstTranslator.visitQuerySpec(DB2SqlAstTranslator.java:170)
at org.hibernate.sql.ast.tree.select.QuerySpec.accept(QuerySpec.java:129)
This seems related to the fix. Could this be a regression ?
(
https://hibernate.atlassian.net/browse/HHH-15890#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15890#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100213- sha1:1fa7b87 )