This content has been marked as final. Show 2 replies
Please somebody help me!!
I will try to describe the problem more in detail!!
<query> <description></description> <query-method> <method-name>findMaxId</method-name> <method-params></method-params> </query-method> <ejb-ql>select object(o) from User_statistic o where o.id = (select max(u.id) from User_statistic u)</ejb-ql> </query>
Whether the query is correctly written? If there is no that as it to correct?