// find null
final String[] keys = { "dennis", "killme2008@\tgmail.com" };
ResultSet rs = this.session.find(keys);
assertFalse(rs.next());
ModifyStatement stmt = this.session.createStatement();
stmt.setInt(1, 0);
stmt.setString(2, "dennis");
stmt.setString(3, "killme2008@\tgmail.com");
stmt.setInt(4, 27);
stmt.setString(5, "2010-11-28 13:24:00");
// insert
assertTrue(stmt.insert());
// find once
rs = this.session.find(keys);
assertTrue(rs.next());
System.out.println(rs.getInt(1));
assertEquals("dennis", rs.getString(2));
assertEquals("killme2008@\tgmail.com", rs.getString(3));
assertEquals(27, rs.getInt(4));
assertFalse(rs.next());
// update
stmt = this.session.createStatement();
stmt.setInt(1, 1);
stmt.setString(2, "dennis");
stmt.setString(3, "test@163.com");
stmt.setInt(4, 109);
assertEquals(1, stmt.update(keys, FindOperator.EQ));
// find twice
rs = this.session.find(new String[] { "dennis" });
assertTrue(rs.next());