2. Lack of etiquette and manners is a huge turn off.
KnolX Etiquettes
Punctuality
Join the session 5 minutes prior to
the session start time. We start on
time and conclude on time!
Feedback
Make sure to submit a constructive
feedback for all sessions as it is
very helpful for the presenter.
Silent Mode
Keep your mobile devices in silent
mode, feel free to move out of
session in case you need to attend
an urgent call.
Avoid Disturbance
Avoid unwanted chit chat during
the session.
3. Our Agenda
Spring Data JPA
01
08:00 AM Hibernate Framework
02
09:00 AM Object- To-Relational Mapping (ORM)
03
10:00 AM what is JPA
04
01:00 PM Spring boot JPA
05
03:00 PM Demo
4. A framework for persisting / saving Java objects in a database
https://hibernate.org/orm/documentation/6.1/
What is Hibernate Framework
5. ● Hibernates handles all the low-level SQL
● Minimizes the amount of JDBC code you have to develop.
● Hibernates provides the Object-to-Relational Mapping (ORM)
Benefit of Hibernate
6. ● ORM is a technique for converting data between Java objects and relational
databases (table).
Object- To-Relational Mapping (ORM)
7. The Java Persistence API provides Java developers with an object/relational mapping
facility for managing relational data in Java applications
What is JPA
8.
9. Suppose We have created a DAO for Employee
What If we need to create a DAO for Different Entity?
Customer, Student, Product, Book….
Problem
10. ● Spring Data JPA is the solution!!!
● Create DAO and just plug in your entity type and primary key
● Spring will give you a CRUD implementation for FREE …..like MAGIC!!!
Spring Data JPA - Solution