This simple development project is a showcase contains a domain model Customer
along with a CustomerDao
class that accesses the database via JDBC and maps each row to an instance of Customer
.
The main goal is to illustrate how Spring JDBC (with JdbcTemplate
and Spring Boot auto-configuration) works with minimal setting and dependencies.
Most of JDBC functionality are in CustomerDao
CRUD methods. A test case CustomerDaoTest
shows the usage of these CRUD methods.
Simple execute mvn clean test
at the command line or with your favorite IDE.