Add JDBC template content (#1992)

* Update 101-jdbc-template.md

* Update content/roadmaps/110-java/content/106-java-jdbc/101-jdbc-template.md

* Update content/roadmaps/110-java/content/106-java-jdbc/101-jdbc-template.md

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
Poonam kumawat
2022-10-02 15:48:56 +04:00
committed by GitHub
co-authored by Kamran Ahmed
parent ca51a16e2a
commit 8445229633
@@ -1 +1,3 @@
# Jdbc template
# JDBC Template
JDBCTemplate is a central class in the JDBC core package that simplifies the use of JDBC and helps to avoid common errors. It internally uses JDBC API and eliminates many problems with JDBC API. It executes SQL queries or updates, initiating iteration over ResultSets, catching JDBC exceptions, and translating them to the generic. It executes core JDBC workflow, leaving application code to provide SQL and extract results. It handles the exception and provides informative exception messages with the help of exception classes defined in the `org.springframework.dao` package.