Skip to content

This contains hands-on examples covering Spring Core fundamentals, Java Persistence with JPA and Hibernate, and Spring Data JPA following Java Persistence with Spring Data and Hibernate by by Catalin Tudose.

Notifications You must be signed in to change notification settings

Cedrickkk/java-persistence-with-spring-data-and-hibernate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Persistence with Spring Data and Hibernate - Exercises

This repository contains exercises and examples from the book "Java Persistence with Spring Data and Hibernate" by Catalin Tudose.

About

A collection of hands-on exercises demonstrating Java persistence techniques using Spring Data and Hibernate. These exercises cover various topics including entity mapping, relationships, queries, and advanced persistence concepts.

Technologies

  • Java - Programming language
  • Maven - Build and dependency management
  • Spring Data JPA - Data access abstraction
  • Hibernate - JPA implementation and ORM framework

Prerequisites

  • JDK 11 or higher
  • Maven 3.6+
  • IDE (IntelliJ IDEA, Eclipse, or VS Code)

Getting Started

  1. Clone the repository:
git clone <repository-url>
  1. Navigate to the project directory:
cd <project-directory>
  1. Build the project:
mvn clean install
  1. Run tests:
mvn test

Project Structure

The repository is organized by chapters and topics from the book, with each module containing relevant exercises and examples.

Usage

Each exercise module can be run independently. Navigate to the specific module and follow the instructions in its respective README or comments.

Learning Objectives

  • Understanding JPA and Hibernate fundamentals
  • Mapping entities and relationships
  • Working with Spring Data repositories
  • Writing efficient queries (JPQL, Criteria API, native SQL)
  • Transaction management
  • Performance optimization

License

Educational purposes only. Please refer to the book for detailed explanations and theory.

About

This contains hands-on examples covering Spring Core fundamentals, Java Persistence with JPA and Hibernate, and Spring Data JPA following Java Persistence with Spring Data and Hibernate by by Catalin Tudose.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages