Wildcard can now be used through Wildcard class:
@Test public void wildcardAll() { expectedQuery = "select * from EMPLOYEE2 e"; query().from(employee).uniqueResult(Wildcard.all); }
@Test public void countAll() { expectedQuery = "select count(*) as rowCount from EMPLOYEE2 e"; PNumber<Long> rowCount = new PNumber<Long>(Long.class, "rowCount"); query().from(employee).uniqueResult(Wildcard.count().as(rowCount)); }
Wildcard can now be used through Wildcard class:
@Test ).from( employee) .uniqueResult( Wildcard. all);
public void wildcardAll() {
expectedQuery = "select * from EMPLOYEE2 e";
query(
}
@Test Long>(Long. class, "rowCount"); ).from( employee) .uniqueResult( Wildcard. count() .as(rowCount) );
public void countAll() {
expectedQuery = "select count(*) as rowCount from EMPLOYEE2 e";
PNumber<Long> rowCount = new PNumber<
query(
}