Interface specifying a basic set of JDBC operations.
Implemented by JdbcTemplate. Not often used directly, but a useful option
to enhance testability, as it can easily be mocked or stubbed.
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.
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.