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?
Come have lunch with me Arthur. Adventure will follow. This tiny ad:
Why should you try IntelliJ IDEA ?

This thread has been viewed 539 times.

All times above are in ranch (not your local) time.
The current ranch time is
Aug 16, 2018 20:27:08.