The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Spring Courses ▼▲
    • REST with Spring Boot

      The canonical reference for building a production grade API with Spring

    • Learn Spring Security

      THE unique Spring Security education if you’re working with Java today

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

    • View All Spring Courses

  • Java Courses ▼▲
    • Learn JUnit

      Master the most popular Java testing framework.

    • Learn Maven

      Simplify Your Build with Apache Maven

    • Learn Hibernate JPA

      Master persistence with the Java specification and Hibernate implementation

    • Learn Mockito

      Enhance your unit tests through practical mocking

    • View All Courses

  • Pricing
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • Baeldung Ebooks

      Discover all of our eBooks

    • About Baeldung

      About Baeldung.

Persistence

The persistence layer is vital to almost any application. Have a look at different ways to implement persistence in Java.

  • Hibernate (130)
  • Spring Data JPA (90)
  • SQL (72)
  • MongoDB (56)
  • JDBC (41)
  • Persistence Basics (40)
  • Exception (31)
  • Spring Data MongoDB (31)
  • Cassandra (29)
  • JPA Entities (23)
  • JPA Annotations (23)
  • PostgreSQL (22)
  • H2 (19)

>> Introduction to Jakarta Persistence 3.2

  • popular

>> Automatically Create a Database Schema With Spring Boot

  • popular

>> How to Handle “MysqlDataTruncation: Data truncation: Data too long for column”

>> How to Tear Down or Empty HSQLDB Database After Test

>> EntityManagerFactory vs. SessionFactory

>> Storing Basic Arrays and Collections using Array/JSON/XML Types in Hibernate

>> Converting a JDBC ResultSet to CSV in Java

>> Troubleshooting Spring JPA Attribute Naming Issues

>> Solving “java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver”

>> Query JPA Repository With Single Table Inheritance Subtypes

>> @MapsId Annotation in Hibernate

>> How to Clone a JPA Entity

>> How to Make a Field Optional in JPA Entity?

>> Writing JDBC ResultSet to an Excel File Using Apache POI

>> Guide to Hibernate’s @TimeZoneStorage Annotation

>> Processing JDBC ResultSet With Stream API

>> Change Field Value Before Update and Insert in Hibernate

>> Intro to MongoDB Atlas

>> Stored Procedures With Spring JdbcTemplate

>> Difference Between CAST and TREAT in JPA

  • «
  • ← Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • Next →
  • »
Course – LSSO – NPI EA (tag = OAuth)
LSSO Course Banner
The Baeldung logo

Courses

  • All Courses
  • Baeldung All Access
  • Baeldung All Team Access
  • Login Course Platform

Series

  • Java “Back to Basics” Tutorial
  • Learn Spring Boot Series
  • Spring Tutorial
  • Get Started with Java
  • All About String in Java
  • Security with Spring
  • Java Collections

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Our Partners
  • Partner with Baeldung
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo