JDBC, Hibernate, JPA & Spring Data JPA Overview

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/9

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering core terms and concepts from the lecture on JDBC, Hibernate, JPA, and Spring Data JPA.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards

JDBC (Java Database Connectivity)

Java’s low-level API for connecting to a database and executing SQL queries.

2
New cards

Hibernate

An Object-Relational Mapping (ORM) tool that implements the JPA specification and communicates with the database via JDBC.

3
New cards

JPA (Java Persistence API)

A specification that defines how Java objects map to database tables; it contains no implementation code itself.

4
New cards

Spring Data JPA

A Spring module that abstracts JPA/Hibernate, allowing data access through interfaces like JpaRepository without writing SQL.

5
New cards

ORM (Object-Relational Mapping)

The process of converting Java objects to relational database tables and back again.

6
New cards

@Entity

A JPA/Hibernate annotation that marks a class as a persistent database entity.

7
New cards

Hibernate’s JDBC Usage

Hibernate relies on JDBC internally to send SQL commands to the database.

8
New cards

JPA vs. Hibernate

JPA is only a specification, while Hibernate is a concrete implementation of that specification.

9
New cards

Spring Data JPA Call Chain

Application code → Spring Data JPA → JPA → Hibernate → JDBC → SQL database.

10
New cards

Importance of Learning JDBC

Understanding JDBC helps you debug, optimize, and comprehend what higher-level frameworks are doing under the hood.