Hibernate Query Timeout Configuration Missing Cross-Version Cancellation Guarantee
Hibernate Query.setTimeout() establishes a JDBC statement timeout, but the framework does not guarantee cancellation of the underlying query when the timeout expires. This behavior creates ambiguity for applications that rely on timely query termination, especially when pagination via setMaxResults and setFirstResult is involved. The timeout applies at the s