1,
stmt
.executeUpdate("insert into test_user values(0,'dennis','test@163.com','27','2010-11-28 13:24:00')"));
final String[] keys = { "dennis", "test@163.com" };
Filter[] filters ={new Filter(FilterType.FILTER,FindOperator.EQ, 0, "27")};
ResultSet rs = session.find(keys,FindOperator.EQ,1,0,filters);
assertTrue(rs.next());
System.out.println(rs.getInt(1));
assertEquals("dennis", rs.getString(2));
assertEquals("test@163.com", rs.getString(3));
assertEquals(27, rs.getInt(4));
assertFalse(rs.next());
filters = new Filter[]{new Filter(FilterType.FILTER,FindOperator.GT, 0, "27")};
rs = session.find(keys,FindOperator.EQ,1,0,filters);
assertFalse(rs.next());
}