First version that supports :

        Query<City> query = unitOfWork.newQuery(
                qb
                        .where(
                                ST_Within
                                        (
                                             templateFor(City.class).location(),
                                              ST_GeometryFromText("POINT(49.550881 10.712809)", SRID),
                                              1000, Unit.METERS
                                        )
                        ));