Alternatively, the standard JDBC infrastructure can be mocked. However, mocking this interface constitutes significantly less work. As an alternative to a mock objects approach to testing data access code, consider the powerful integration testing support provided in the org.springframework.test
package, shipped in spring-mock.jar
.
@author Rod Johnson
@author Juergen Hoeller
@see JdbcTemplate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|