public User get( Connection conn, int id) throws SQLException {
        ResultSetHandler<User> h = new BeanHandler<User>(User.class);
        String sql =
            "SELECT id,username,fullname,type,emailaddress,registered_ts,invited_by,enabled \n"+
            "FROM userbase \n"+
            "WHERE id=?";
        return run.query(conn, sql, h, id);
    }
public User get ( Connection conn , int id ) throws SQLException { ResultSetHandler < User > h = new BeanHandler < User > ( User . class ) ; String sql = "SELECT id,username,fullname,type,emailaddress,registered_ts,invited_by,enabled \n" + "FROM userbase \n" + "WHERE id=?" ; return run . query ( conn , sql , h , id ) ; }
{@inheritDoc}
<p>
安全考虑，返回 User 的 password 属性为 null。</p>