Removal of QueryMethod functionality

Bug #732611 reported by Timo Westkämper on 2011-03-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

The QueryMethod functionality has been removed, because it overlaps with the support for delegate methods.

More information here :,1086

Released in 2.2.0-beta1

Changed in querydsl:
status: New → Fix Committed
status: Fix Committed → Fix Released

Here is a simple conversion from QueryMethod form to QueryDelegate form :

Here is a simple conversion example.

public interface PointOperations {

   int geoDistance(Point otherPoint);



    public static NumberExpression<Integer> geoDistance(Path<Point> point, Point other){
        return NumberTemplate.create(Integer.class, "geo_distance({0},{1})", point, new ConstantImpl<Point>(other));

More examples will be provided soon.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers