Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-15955 (
https://hibernate.atlassian.net/browse/HHH-15955?atlOrigin=eyJpIjoiZjIzMj...
)
Re: Hibernate 6.1.6 Never Uses LimitHandler w/ DB2 (
https://hibernate.atlassian.net/browse/HHH-15955?atlOrigin=eyJpIjoiZjIzMj...
)
Hibernate doesn’t seem to be aware of the compatibility setting.
Can you tell us how to query this compatibility setting? Then we can add code to make sure
we respect that.
To overcome this, I attempted to extend both DB2Dialect and
DB2zDialect to override the getVersion() method
That’s the right approach to achieve what you are seeking.
https://hibernate.atlassian.net/browse/HHH-15957 (
https://hibernate.atlassian.net/browse/HHH-15957 ) will be addressed shortly, so then this
should work fine.
Don’t worry about the driver, it’s an issue on our side. It would be great though if you
could help us figure out how to handle these compatibility modes though. Please post the
SQL query to fetch the compatibility mode setting and also the response/resultset that you
are getting.
(
https://hibernate.atlassian.net/browse/HHH-15955#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15955#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:cca7326 )