class AbstractHibernateQueryTranslator extends
        AbstractQueryTranslator<Q, O, P> implements QueryTranslator<Q, O, P> {

    @Override
    public <N extends Number & Comparable<N>> Q within(String fieldName,
            Point<N> center, Number distance) {
        throw new IllegalStateException(
                "Cannot perform geometric queries using one field");
    }

    public  AbstractHibernateQueryTranslator(Class<Q> queryClass,
            Class<O> orderClass, HibernatePropertyResolver propertyResolver,
            BoxMaker boxMaker,
            ContainsExpressionHandler<Q> containsExpressionHandler);

}