Forums Register Login
using min function in ejb ql of foreign key
SELECT MIN(o.orgUnitId) FROM ProcessedOrganization o
This is query i am using ,in this case

ProcessedOrganization Entity have orgUnitId as primaryKey as well as
foreign key reference.
when i am going to generate rmic for this Ejbql then it showing error
Invalid SELECT containing either expression,parameter,or multiple elements.
I am using ejb 2.1 so there is no problem of version
can u help me?

Can u plz post the exact stack trace tht u received?

This thread has been viewed 559 times.

All times above are in ranch (not your local) time.
The current ranch time is
Nov 15, 2018 19:56:05.