@Test public final void testNull() { String rsql = null; long count = userRepository.count(toPredicate(rsql, QUser.user)); log.info("rsql: {} -> count: {}", rsql, count); assertThat("Null", count, is(12l)); count = companyRepository.count(toPredicate(rsql, QUser.user)); log.info("rsql: {} -> count: {}", rsql, count); assertThat("Null", count, is(7l)); }
public static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz) { return toPredicate(rsqlQuery, qClazz, null); }
RSQLQueryDslSupport extends RSQLJPASupport { public static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz) { return toPredicate(rsqlQuery, qClazz, null); } }
RSQLQueryDslSupport extends RSQLJPASupport { public static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz) { return toPredicate(rsqlQuery, qClazz, null); } RSQLQueryDslSupport();  RSQLQueryDslSupport(Map<String, EntityManager> entityManagerMap); }
RSQLQueryDslSupport extends RSQLJPASupport { public static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz) { return toPredicate(rsqlQuery, qClazz, null); } RSQLQueryDslSupport();  RSQLQueryDslSupport(Map<String, EntityManager> entityManagerMap); static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz); static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz, final Map<String, String> propertyPathMapper); }
RSQLQueryDslSupport extends RSQLJPASupport { public static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz) { return toPredicate(rsqlQuery, qClazz, null); } RSQLQueryDslSupport();  RSQLQueryDslSupport(Map<String, EntityManager> entityManagerMap); static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz); static BooleanExpression toPredicate(final String rsqlQuery, final Path qClazz, final Map<String, String> propertyPathMapper);  }