Unit 4 Java
Unit 4 Java
Topics to be Covered
Spring
Java Program Database
JDBC
Module
JdbcTemplate
JDBC Concept
● Repetition of all these codes from one to another database logic is a time
consuming task.
Problems of JDBC API
● We need to write a lot of code before and after executing the query, such
○ Connection open
○ Statement
○ Execute
○ Connection close
● SQL EXCEPTION
● Repetition of all these codes from one to another database logic is a time
consuming task.
● Same code needs to be re written in each java code where jdbc is used
JDBC = Java DataBase Connectivity