Loading...
Spring Framework Reference Documentation 7.0.2의 Data Access with JDBC의 한국어 번역본입니다.
아래의 경우에 피드백에서 신고해주신다면 반영하겠습니다.
감사합니다 :)
Spring Framework JDBC 추상화가 제공하는 가치는 아래 표에 나열된 작업 순서를 통해 가장 잘 나타납니다. 이 표는 어떤 작업을 Spring이 처리하고 어떤 작업이 여러분의 책임인지 보여줍니다.
| Action | Spring | You |
|---|---|---|
| Define connection parameters. | X | |
| Open the connection. | X | |
| Specify the SQL statement. | X | |
| Declare parameters and provide parameter values | X | |
| Prepare and run the statement. | X | |
| Set up the loop to iterate through the results (if any). | X | |
| Do the work for each iteration. | X | |
| Process any exception. | X | |
| Handle transactions. | X | |
| Close the connection, the statement, and the resultset. | X |
Table 1. Spring JDBC - who does what?
Spring Framework는 JDBC를 매우 지루한 API로 만들 수 있는 모든 로우 레벨 세부 사항을 처리합니다.
DAO Support
Choosing an Approach for JDBC Database Access