ORM, Hibernate
vs JPA
and Spring Data
rgupta.mtech@gmail.com
https://www.linkedin.com/in/rajeev
guptajavatrainer
Busy Coder Academy
Data Layer Evolution Process
Database layer evolution
process is very similer to
human evolution process
Busy Coder Academy
What is Object Relational Mapping ORM?
Object Relational Mapping
(ORM) is a technique used in
creating a "bridge" between
object-oriented programs and
relational databases.
Busy Coder Academy
What is Hibernate Framework?
Hibernate ORM is an
object–relational
mapping tool for the Java
programming language.
It provides a framework
for mapping an object-
oriented domain model
to a relational database Busy Coder Academy
What is JPA?
Jakarta Persistence API is
a Jakarta EE (Earlier
called J2EE ) application
programming interface
specification that
describes the JSR
management of relational
data in enterprise Java
applications Busy Coder Academy
JPA vs Hibernate
The major difference between Hibernate and JPA is
that Hibernate is a framework while JPA is API
specifications
Hibernate is an implementation of JPA guidelines.
It helps in mapping Java data types to SQL data types.
It is the contributor of JPA.
Busy Coder Academy
JPA vs Hibernate
Busy Coder Academy
JPA vs Hibernate
Busy Coder Academy
What is Spring Data?
The Spring-Data is an umbrella project having many sub-projects or modules to
provide uniform abstractions and uniform utility methods for the Data Access Layer
in an application and support a wide range of databases and datastores.
Busy Coder Academy
What is Spring Data?
By using Spring data We dont have to write Dao layer, we just
need to declare Dao layer and it provide uniform interface to
interact with polyglot of databases
Busy Coder Academy
LIKE
SHARE