diff --git a/app/src/main/java/com/techcourse/dao/UserDaoImpl.java b/app/src/main/java/com/techcourse/dao/UserDaoImpl.java index 16f1cbac8f..fac68dacf2 100644 --- a/app/src/main/java/com/techcourse/dao/UserDaoImpl.java +++ b/app/src/main/java/com/techcourse/dao/UserDaoImpl.java @@ -28,7 +28,7 @@ public void update(final User user) { @Override public List findAll() { - final String sql = "select * from users"; + final String sql = "select id, account, password, email from users"; return jdbcTemplate.query(sql, getUserRowMapper()); }