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?
Always! Wait. Never. Shut up. Look at this tiny ad.
Thread Boost - a very different sort of advertising

This thread has been viewed 517 times.

All times above are in ranch (not your local) time.
The current ranch time is
Apr 27, 2018 02:41:34.