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

      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 Security Core

        Focus on the Core of Spring Security 5

      • Learn Spring Security OAuth

        Focus on the new OAuth2 stack in Spring Security 5

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Spring Data JPA

      The full guide to persistence with Spring Data JPA

  • Guides ▼▲
    • Persistence

      The Persistence with Spring guides

    • REST

      The guides on building REST APIs with Spring

    • Security

      The Spring Security guides

  • 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.

  • Category upPersistence
  • Category upSpring Persistence
  • Category upSpring Data

Tag: JPA

The Java Persistence API (JPA) provides the ORM layer for managing relational data in Java. Learn how to use JPA in your code through the guides below.

>> Remove Entity with Many-to-Many Relationship in JPA

>> Using Java Records with JPA

>> @JsonIgnore vs @Transient

>> Difference Between JPA and Spring Data JPA

>> Multitenancy With Spring Data JPA

>> Spring Data JPA – Run an App Without a Database

>> Joining Tables With Spring Data JPA Specifications

>> JPA and Hibernate – Criteria vs. JPQL vs. HQL Query

>> BootstrapMode for JPA Repositories

>> A Guide to JPA Buddy

>> How to Access EntityManager with Spring Data

>> JPA Entities and the Serializable Interface

>> A Comparison Between JPA and JDBC

>> JPA Support – State of the Tools Ecosystem in 2021

>> Defining Unique Constraints in JPA

>> How to Return Multiple Entities In JPA Query

>> How to Implement a Soft Delete with Spring JPA

>> Overriding Column Definition With @AttributeOverride

>> Returning an Auto-Generated Id with JPA

>> Learn JPA & Hibernate

>> Defining Indexes in JPA

>> JPA CascadeType.REMOVE vs orphanRemoval

>> Ignoring Fields With the JPA @Transient Annotation

>> JPA Entity Equality

>> When Does JPA Set the Primary Key

>> Generate Database Schema with Spring Data JPA

>> Spring JPA @Embedded and @EmbeddedId

>> Constructing a JPA Query Between Unrelated Entities

>> Custom Naming Convention with Spring Data JPA

>> Quick Guide to EntityManager#getReference()

>> Calling Stored Procedures from Spring Data JPA Repositories

>> JPA Entity Lifecycle Events

>> Working with Lazy Element Collections in JPA

>> JPA/Hibernate Persistence Context

>> Customizing the Result of JPA Queries with Aggregation Functions

>> Mapping a Single Entity to Multiple Tables in JPA

>> JPA Annotation for the PostgreSQL TEXT Type

>> JPA Query Parameters Usage

>> Mapping Entity Class Names to SQL Table Names with JPA

>> Overview of JPA/Hibernate Cascade Types

>> Enabling Transaction Locks in Spring Data JPA

>> Composite Primary Keys in JPA

>> JPA/Hibernate Projections

>> Persisting Enums in JPA

>> LIKE Queries in Spring JPA Repositories

>> Derived Query Methods in Spring Data JPA Repositories

>> JPA @Basic Annotation

>> Default Column Values in JPA

>> Defining JPA Entities

>> Batch Insert/Update with Hibernate/JPA

>> Spring Data JPA and Named Entity Graphs

>> Difference Between @Size, @Length, and @Column(length=value)

>> Spring Data JPA Delete and Relationships

>> Spring Data JPA Repository Populators

>> Spring Data JPA and Null Parameters

>> JPA @Embedded And @Embeddable

>> JPA Join Types

>> Types of JPA Queries

>> Difference Between save() and saveAndFlush() in Spring Data JPA

>> TransactionRequiredException Error

>> Combining JPA And/Or Criteria Predicates

>> JPA 2.2 Support for Java 8 Date/Time Types

>> INSERT Statement in JPA

>> One-to-One Relationship in JPA

>> JPA Entity Graph

>> The Difference Between JPA, Hibernate and EclipseLink

>> Difference Between @JoinColumn and mappedBy

>> Fixing the JPA error “java.lang.String cannot be cast to Ljava.lang.String;”

>> Criteria API – An Example of IN Expressions

>> Many-To-Many Relationship in JPA

>> Spring Persistence Tutorial

>> @JoinColumn Annotation Explained

>> Use Criteria Queries in a Spring Data Application

>> Spring Data Composable Repositories

>> A Guide to SqlResultSetMapping

>> Optimistic Locking in JPA

>> Pessimistic Locking in JPA

>> Spring Data JPA @Query

>> An Advanced Tagging Implementation with JPA

>> A Simple Tagging Implementation with JPA

>> JPA Attribute Converters

>> An Overview of Identifiers in Hibernate/JPA

>> Spring Data JPA – Adding a Method in All Repositories

>> CrudRepository, JpaRepository, and PagingAndSortingRepository in Spring Data

>> A Guide to Stored Procedures with JPA

>> A Guide to Querydsl with JPA

>> Auditing with JPA, Hibernate, and Spring Data JPA

>> Simplify the DAO with Spring and Java Generics

>> Spring JPA – Multiple Databases

>> REST Query Language with Spring Data JPA and Querydsl

>> REST Query Language with Spring Data JPA Specifications

>> REST Query Language with Spring and JPA Criteria

>> Transactions with Spring and JPA

>> Introduction to Spring Data JPA

>> Sorting with JPA

>> JPA Pagination

>> A Guide to JPA with Spring

>> The DAO with JPA and Spring

  • ↑ Back to Top
The Baeldung logo

Courses

  • All Courses
  • All Bulk Courses
  • All Bulk Team Courses
  • The Courses Platform

Series

  • Java “Back to Basics” Tutorial
  • Jackson JSON Tutorial
  • Apache HttpClient Tutorial
  • REST with Spring Tutorial
  • Spring Persistence Tutorial
  • Security with Spring
  • Spring Reactive Tutorials

About

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