Skip to content

MohammedShahto/hibernatecachedemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hibernate 2nd Level Cache Demo with Spring Boot and Redis

This demo project accompanies the Medium article: Scaling Spring Boot with Hibernate 2nd Level Cache on Redis

Content

  • A Java demo Spring Boot application. Demonstrates 1st and 2nd Level Hibernate cache.
  • H2 In-Memory database with schema and sample data.

Stack

  • Spring Boot (v3.0.1)
  • Spring Data JPA
  • H2 Database
  • JUnit
  • Lombok
  • Requires Redis running locally (or dockerized) at default port 6379

Installation

Clone or download to your local workspace.

Eclipse IDE:

Import project.

IntelliJ

Open project.

License

MIT

About

Demo of Hibernate 2nd Level Cache on Spring Boot and Redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages