Skip to content

This tutorial project explains spring-jdbc concepts and using spring-jdbc wrapper layer over Java JDBC drivers with some wrappers like JdbcTemplate, NamedParameterJdbcTemplate and SimpleJdbcInsert

License

Notifications You must be signed in to change notification settings

seefa/spring-jdbc-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-jdbc-tutorial

This tutorial code used to explain Spring JDBC concepts:

  • add spring-context and spring-jdbc and mysql-connector-java dependencies
  • add DAO model, repository interface and repo implementations
  • add datasource bean definition with spring-resource loading configurations
  • add bean for Spring wrappers over Java JDBC drivers same as JdbcTemplate, NamedParameterJdbcTemplate, SimpleJdbcInsert.
  • test-case for search and insert new record with data access functionalities
  • add CustomSqlErrorCode translator with Spring SQLErrorCodeSQLExceptionTranslator parent class.

TIP: Database DDL and DML files are added to db_files folder

About

This tutorial project explains spring-jdbc concepts and using spring-jdbc wrapper layer over Java JDBC drivers with some wrappers like JdbcTemplate, NamedParameterJdbcTemplate and SimpleJdbcInsert

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages