The problem is that finder methods can only return instances or collections of instances of the entity bean where the finder is, and max(a.id) returns an ID, not an instance.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852447#3852447 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852447 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user