Spring JDBC and JPA
JDBC (short for Java Database Connectivity). The JDBC API defines how we can access the data stored in a relational database. A JDBC driver is the implementation of the JDBC API for a specific type of database. For example, com.mysql.jdbc.Driver is the driver class name for the MySQL database and org.hsqldb.jdbcDriver is the driver class name for HSQLDB, a relational database written in pure Java. Spring JDBC is an abstraction layer provided by Spring above the JDBC API to make it easier for us to interact with the database.
JPA (short for Java Persistence API). It defines a Java standard approach for Java objects persistence, using an object-relational mapping (ORM) mechanism to bridge the gap between an object-oriented ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access