Matthew Hixson wrote:
Could you do something like this for findLastDelivery:

select ddate from foo where bar=?1 order by ddate desc limit 1

You could do pretty much the same thing for finding the biggest order too.
  -M@



Yes I can do that.
But that is still SQL query that can not be rewritten in EJB-QL.
My point was that one can not make use of CMPs for doing this.

Milen Dyankov



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to