I have opened a GitHub ticket to Spring team as a result to investigate a propertie that controls query timeout (Spring Data query timeout · Issue #33866 · spring-projects/spring-boot (github.com)). After update to Hibernate 6 version propertie jakarta.persistence.query.timeout seems not work anymore. On previous version (Hibernate 5.6.14) propertie javax.persistence.query.timeout is successfully set and work as expected. Looks like when
is created it has its own
and method
is never called on that instance. I have attached some debug screenshots (using Hibernate 6.1.6 version). Propertie being set on
Then propertie is successfully set on :
Method
returns null: Is there any additional configuration that must be set? Couldn’t find anything on Hibernate documentation regarding it. Let me know if you have any question. Thanks in advance. |