Rda { public static RdaBuilder build(String sql, Object... params) { return handler.build(sql, params); }  static void to(DataSource ds); static void to(String url, String un, String pw); static Be<T> at(Class<T> clazz); static RdaBuilder build(String sql, Object... params);  }
@Test public void sql() { Long count = Rda.build("select count(*) from rdo").getLong(); System.out.println(count); String name = Rda.build("select name from rdo where id = ?", 1).getString(); System.out.println(name); Rdo rdo = Rda.build("select * from rdo where id = ?", 2).mapping(Rdo.class); System.out.println(rdo); List<Rdo> rods = Rda.build("select * from rdo").mappings(Rdo.class); System.out.println(rods); }