Add type checking for single property selectors in HQL queries
Currently there is no type checking rule for a single property selector in an HQL query, like in the query
Submitted by Christoffer Gersen on 4 April 2013 at 14:24select u.id from User as u. In this case theidproperty is of typeUUID, but WebDSL only looks at the from-clause and assumes this query returns a list ofUser. Instead WebDSL should lookup the type of theidproperty of entityUser. This is similar to themin,maxandsumaggregate functions, where WebDSL looks up the type of the property to determine if it is anIntor aFloat.
Issue Log
On 4 April 2013 at 14:32 Christoffer Gersen tagged 1.3.0
On 4 April 2013 at 14:32 Christoffer Gersen commented:
Implemented in revision 5670
On 4 April 2013 at 14:32 Christoffer Gersen closed this issue.
Log in to post comments