NumberTemplate has constants for zero, one, two and three, but BooleanTemplate doesn't have true and false.
Added the following to BooleanTemplate :
public static final BooleanExpression TRUE = create("true");
public static final BooleanExpression FALSE = create("false");
Released in 2.2.0-beta4
In querydsl 4 I think people will want Expressions.TRUE or Expressions.ONE etc
Bug watches keep track of this bug in other bug trackers.
Added the following to BooleanTemplate :
public static final BooleanExpression TRUE = create("true");
public static final BooleanExpression FALSE = create("false");