It was introduced in 3.2.2. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Luis > Sent: Friday, January 16, 2004 5:32 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Help with JBossQL > > I have implemented a dynamic query using xdoclet as > follows: > > 1. @ejb.finder > query="" > signature="java.util.Collection > findMaxId(java.lang.String sql,java.lang.Obj[] args)" > > 2. @jboss.query > signature="java.util.Collection > findMaxId(java.lang.String sql,java.lang.Obj[] args)" > dynamic="true" > > > in the client the call is: > > findMaxId("SELECT MAX(a.id) FROM Marca as a",new Object[0]); > > When I try to use this I get an error: > > ERROR[STDERR] javax.ejb.FinderException: Error compiling ejbql: > org.jboss.ejb.plugins.cmp.ejbql.ParseException: > Encountered "MAX" at line 1, col 8. > Was expecting one of: > "DISTINCT" > "OBJECT"... > > I am using jboss 3.2.1. Can anybody tell me what is wrong > here, I would appreciate a lot your help.
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user