Jan Schatteman (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-17004 (
https://hibernate.atlassian.net/browse/HHH-17004?atlOrigin=eyJpIjoiNmE5Zm...
)
Re: Nullpointer wenn using setFirstResult and setMaxResults in diffrent combinations (
https://hibernate.atlassian.net/browse/HHH-17004?atlOrigin=eyJpIjoiNmE5Zm...
)
I’m scratching my head on this one; I’m still unable to reproduce the issue. That said, I
must admit that I don’t have access to a Cache DB, so i tried first with the
SybaseASEDialect (which also uses the TLH), and also tried to ‘fake’ it by configuring the
TopLimitHandler to the H2Dialect, and tried it in 6.2.5, but still to no avail. So either
the TopLimitHandler is not the culprit in this story, or there is something else that I’m
missing in the picture.
Also, during debugging I saw that it never goes into that if you mentioned, are you sure
this is the snippet you wanted to refer to?
if ( localCopy.jdbcSelect.dependsOnParameterBindings() ) {
jdbcParameterBindings = createJdbcParameterBindings( localCopy, executionContext );
}
(
https://hibernate.atlassian.net/browse/HHH-17004#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-17004#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#100234- sha1:39b0f46 )