this is my situation :
BooleanExpression be = //a certain BooleanExpression;
@Autowired
private EntityManager em;
List<Tuple> result = (List<Tuple>) em.createQuery("select x from y where" + be);
What i would like to do is to take my BooleanExpression and to calculate it into the "where"...any suggestion?