The 1 is added in the calling function https://github.com/hibernate/hibernate-orm/blob/4.2.7.SP1/hibernate-core/src/main/java/org/hibernate/internal/AbstractQueryImpl.java#L450 and in the debugger this also looks correct. I am now a bit unsure about the line in
HHH-7023
which says "This would allow the following from HQL:". Is this meant for the future and not supported yet? If I use 1-based query parameters converted to String, everything works.
|