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?
|