ormExecute with only hql and queryOptions


my ormExecuteQuery looks like that:

ormExecuteQuery(hql = myHQL, queryOptions = { "maxResults" = 1} )

but lucee gives me the error Can’t cast String [] to a boolean

Changing it to ormExecuteQuery(myHQL,{},false,{"maxResults" = 1} ) is working…

My hope was that i can use named parameters…

Kind Regards

This is a bug. I’ve filed a bug Bug-LDEV-3430

@mbausche This issue was solved in lucee version

Wow that was fast
Thank you!