class UserDAO {

  public Optional<String> getHashedPassword(String name) {
    String r = dslContext
        .select(USERS.PASSWORD_HASH)
        .from(USERS)
        .where(USERS.USERNAME.eq(name))
        .fetchOne(USERS.PASSWORD_HASH);
    return Optional.ofNullable(r);
  }

  public  UserDAO(DSLContext dslContext);

}