@Test public void testQueryList() { deleteAll(); insertOne(1); insertOne(2); Query<Domain> q = createTestQuery(); List<Domain> list = q.list(); Assert.assertNotNull(list); Assert.assertEquals(2, list.size()); Assert.assertEquals(new Long(1), list.get(0).getId()); Assert.assertEquals(new Long(2), list.get(1).getId()); }
public List<T> list() { return this.jdbcTemplate.query(getSql().replace("!!", ""), this.sqlArgs.toArray(), this.rowMapper); }
SpringJdbcQuery implements cn.bc.core.query.Query<T> { public List<T> list() { return this.jdbcTemplate.query(getSql().replace("!!", ""), this.sqlArgs.toArray(), this.rowMapper); } }
SpringJdbcQuery implements cn.bc.core.query.Query<T> { public List<T> list() { return this.jdbcTemplate.query(getSql().replace("!!", ""), this.sqlArgs.toArray(), this.rowMapper); } private  SpringJdbcQuery();  SpringJdbcQuery(DataSource dataSource, RowMapper<T> rowMapper); }
SpringJdbcQuery implements cn.bc.core.query.Query<T> { public List<T> list() { return this.jdbcTemplate.query(getSql().replace("!!", ""), this.sqlArgs.toArray(), this.rowMapper); } private  SpringJdbcQuery();  SpringJdbcQuery(DataSource dataSource, RowMapper<T> rowMapper); void setSqlArgs(List<Object> sqlArgs); SpringJdbcQuery<T> setSql(String sql); cn.bc.core.query.Query<T> condition(
    cn.bc.core.query.condition.Condition condition); int count(); T singleResult(); List<T> list(); List<T> list(int pageNo, int pageSize); Page<T> page(int pageNo, int pageSize); List<Object> listWithSelect(String select); }
SpringJdbcQuery implements cn.bc.core.query.Query<T> { public List<T> list() { return this.jdbcTemplate.query(getSql().replace("!!", ""), this.sqlArgs.toArray(), this.rowMapper); } private  SpringJdbcQuery();  SpringJdbcQuery(DataSource dataSource, RowMapper<T> rowMapper); void setSqlArgs(List<Object> sqlArgs); SpringJdbcQuery<T> setSql(String sql); cn.bc.core.query.Query<T> condition(
    cn.bc.core.query.condition.Condition condition); int count(); T singleResult(); List<T> list(); List<T> list(int pageNo, int pageSize); Page<T> page(int pageNo, int pageSize); List<Object> listWithSelect(String select);  }