@Test public void countAll() { assertThat(H.request("select count(u) from User u").count()).isEqualTo(2); }
public int count() { return query.count(); }
HibernateHqlRequest { public int count() { return query.count(); } }
HibernateHqlRequest { public int count() { return query.count(); } private  HibernateHqlRequest(String query); }
HibernateHqlRequest { public int count() { return query.count(); } private  HibernateHqlRequest(String query); HibernateHqlRequest<T> p(String name, Object val); HibernateHqlRequest<T> p(String name, Object... vals); HibernateHqlRequest<T> maxResults(int maxResults); HibernateHqlRequest<T> transform(Class<?> clazz); HibernateHqlRequest<T> useTransformer(ResultTransformer transformer); T first(); List<T> list(); int count(); static HibernateHqlRequest<T> create(String query); }
HibernateHqlRequest { public int count() { return query.count(); } private  HibernateHqlRequest(String query); HibernateHqlRequest<T> p(String name, Object val); HibernateHqlRequest<T> p(String name, Object... vals); HibernateHqlRequest<T> maxResults(int maxResults); HibernateHqlRequest<T> transform(Class<?> clazz); HibernateHqlRequest<T> useTransformer(ResultTransformer transformer); T first(); List<T> list(); int count(); static HibernateHqlRequest<T> create(String query);  }