| I do agree with Gregory Wiley, and am facing the exact same issue. We're heavily relying on the criteria API, and especially the `CriteriaBuilder.equal` method to construct requests dynamically. Everytime a request hits the DB, the literals might be different, but the overall query is just the same, not benefiting from statement caching. This is leading us to huge huge performance issues, unfortunately. I wish you could do something about that, or provide a way (even a dirty hack, to be honest... at this point) to "force" the specification executor to use parameter binding. Thanks for your help, but if you were wondering if this ticket was legit or not, I can confirm it's kinda disastrous for us. |