Skip to content

Gyumin kim/step2 user with mvc framework#5

Draft
gyumin-kim wants to merge 7 commits intostep2-user-with-mvc-frameworkfrom
gyumin-kim/step2-user-with-mvc-framework
Draft

Gyumin kim/step2 user with mvc framework#5
gyumin-kim wants to merge 7 commits intostep2-user-with-mvc-frameworkfrom
gyumin-kim/step2-user-with-mvc-framework

Conversation

@gyumin-kim
Copy link

No description provided.

* `UserDao`: `update`, `findAll` 구현
* controller에서 `DataBase` 대신 `UserDao` 사용
* `JdbcTemplate` 생성, `UserDao`에서 익명 클래스로 구현
* `JdbcTemplate`: `User`에 대한 의존관계 제거
* `JdbcTemplate`과 `SelectJdbcTemplate` 통합
* callback interface 추가 (`PreparedStatementSetter`, `RowMapper`)
* Generic 사용
* 가변인자를 받아 쿼리에 인자 전달
* lambda 활용
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant