use of org.qi4j.test.indexing.model.Person in project qi4j-sdk by Qi4j.
the class AbstractQueryTest method script50_BigInteger.
@Test
public void script50_BigInteger() {
QueryBuilder<Person> qb = this.module.newQueryBuilder(Person.class);
Person person = templateFor(Person.class);
Query<Person> query = unitOfWork.newQuery(qb.where(eq(person.bigInteger(), new BigInteger("23232323232323232323232323"))));
System.out.println("*** script50_BigInteger: " + query);
verifyUnorderedResults(query, "Joe Doe");
}
Aggregations