|
Pull request that fixes this issue (and adds some tests).
For the record, JPQL or HQL didn’t work either if literals were being used rather than parameters, and the criteria query was translating its parameters into literal when creating the HQL (which may not be a good idea by the way). My patch fixes the HQL queries with a between construction and literals, which automatically solved the issue with the criteria API.
|