seefa / spring-jdbc-tutorial

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:Java 100.0%