[jboss-user] [JBoss Portal] - Re: A problem with EJB-QL!!!

daniko do-not-reply at jboss.com
Thu Sep 4 08:22:36 EDT 2008


I will try to describe the problem more in detail!! 

Query code: 

  | <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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174274#4174274

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174274



More information about the jboss-user mailing list