This document talking about how to predict the parameter order for custom SQL.
The parameter order is important and is defined by the order Hibernate handles properties. You can see the expected order by enabling debug logging, so Hibernate can print out the static SQL that is used to create, update, delete etc. entities.
Is there any other solutions to achieve this?
- Red Hat Fuse 7.5
- Hibernate 5.3.10.Final-redhat-00001
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.