gorm « HQL « JPA Q&A





1. How do I fix error message. "Remember that ordinal parameters are 1-based!"    stackoverflow.com

given the code snippet (please do not ask why I construct it this way...)

...some more Logic...
def blaParam = ['checkinable':checkinable]
def blaQuery = " AND c.product = :checkinable"
...some more Logic...
and
def paramBox = [] ...

2. GORM can't make HQL request    stackoverflow.com

I have a strange bug with Grails. I want to get back some persisted datas, so I execute a HQL query for it. I need to retrieve a list from a ...