When I execute below query ,
select wl.exeName,
count(wl.exeName) exe_count
from worklog$WorkLog wl where wl.exeName IS EMPTY
group by wl.exeName
order by exe_count desc
I get Exception as
com.haulmont.cuba.core.global.RemoteException:
---
java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
Exception Description: Problem compiling [
select wl.exeName,
count(wl.exeName) exe_count
from worklog$WorkLog wl where wl.exeName IS EMPTY
group by wl.exeName
order by exe_count desc
].
[77, 87] The collection-valued path 'wl.exeName' must resolve to an association field.
---
org.eclipse.persistence.exceptions.JPQLException:
Exception Description: Problem compiling [
select wl.exeName,
count(wl.exeName) exe_count
from worklog$WorkLog wl where wl.exeName IS EMPTY
group by wl.exeName
order by exe_count desc
].
[77, 87] The collection-valued path 'wl.exeName' must resolve to an association field.