Hibernate version:3.1
I am in the midst of migrating our application from the classic query parser to the ast query parser. One of the issues I am trying to solve is in regards to the max() function.
In the classic query parser I could run the query: "select max(login) from UserLogin login" and I would recieve a UserLogin object back from hibernate.
Running the same query through the Ast Query parser does not return a UserLogin object.
Running: "select max(login.id) from UserLogin login", however, runs just fine.
Is returning an object from the max(...) function somthing that has changed syntactically or is it functionality that will be included in the future?
Thanks in advance,
Justin McAllister
|