| I have no idea how Spring constructs queries for Hibernate to execute. Please attach a test case that does not use Spring, and explicitly creates and executes a javax.persistence.Query. You can find test templates at https://github.com/hibernate/hibernate-test-case-templates. |