JPA

The Java Persistence API (JPA) is a Java specification for accessing, persisting, and managing data between Java objects/classes and a relational database. It is part of the EJB 3.0 specification and is the industry standard approach for Object to Relational Mapping (ORM).

Child-Side Parent Association via a Hibernate-Specific Proxy

We talk about a very handy performance optimization that can be applied in the persistence layer using Spring Data and Hibernate persistence provider. In this article, we talk about a very handy performance optimization that can be applied in the persistence layer using Spring Data and Hibernate persistence provider.

Code first database design & development using JPA, Flway, Fastnate...

We’ll look at a sample approach using a very simple example as to how we could potentially utilize these tools to make the application developers life easy and create as well as maintain a database using a code first approach.

When Does JPA Set the Primary Key

When Does JPA Set the Primary Key - Learn about the different strategies JPA uses to generate the primary key for an entity and at which moment each strategy sets the key value during persistence.

How to Escape Some Traps When Using JPA

JPA Hidden Traps - Find out how to escape some traps when using JPA. I would like to bring you 3 quick tips that will help you to escape hidden traps when you are creating or maintaining JPA applications.

A Guide to JPA with Hibernate - Relationship Mapping

In this article, we'll dive into Relationship Mapping with JPA and Hibernate in Java. JPA is the persistence standard of the Java ecosystem. It allows us to map our domain model directly to the database structure and then gives us the flexibility of manipulating objects in our code - instead of messing with cumbersome JDBC components like Connection, ResultSet, etc.

Generate Database Schema with Spring Data JPA

Spring Data JPA provides a standard for generating DDL from our entity model. Here we explore how to do this in Spring Data and compare that with native Hibernate.

Microservices Spring Boot Tutorial | Spring Frameworks | Simpliv

Want to be able to generate a microservice infrastructure that organizes your application using different layers following the MVC pattern? Then, this course is for you! Simpliv brings you global expertise to allow you to build a microservice infrastructure to realize a full stack web application.

Understand to Spring Boot: MySQL and JPA, Hibernate

Spring Boot uses Hibernate as the default JPA implementation. The property spring.jpa.hibernate.ddl-auto is used for database initialization. I've used the value “update” for this property.

How to Write Type-Safe SQL Queries With JPA

JPA is a great technology that maps the database relational model to the Java object-oriented model. It retrieves data and persist back the changes very easily, but it lacks the ability to perform advanced queries.

JPA with Eclipse and MySQL: Using Java Configuration

In this tutorial, we learn more about the Java Persistence API and how to effectively configure it with EclipseLink and MySQL.

Kotlin Microservices With Micronaut, Spring Cloud, and JPA

In this article, we'll learn how to create microservice applications written in Kotlin, using the Micronaut framework, Spring Cloud, and JPA for a little extra help.

Spring Boot + JPA + Hibernate + Oracle

In this tutorial, we will learn how to create a Spring Boot application that communicates with an Oracle data source through Hibernate.

GraphQL Tutorial: Understanding Spring Data JPA/SpringBoot

Let's understand Spring Data JPA and Spring Boot with a practical example.

Build a Basic App with Spring Boot and JPA using PostgreSQL

Build a Basic App with Spring Boot and JPA using PostgreSQL. Install PostgreSQL for JPA Persistence. Create a PostgreSQL Database for Your JPA Entities. Build a Spring Boot Resource Server. Add a Domain Class with Spring Data and JPA. Implement a CRUD Repository with Spring Data JPA.

Build a Rest API with Spring Boot using MySQL and JPA

In that case, I found a very clean and elegant framework called Spring Boot to build a back end.

Duplicate Entry Exception: Spring Hibernate/JPA cascade save Many To One

It is a spring application (no spring boot). The database I am using is MySQL. The issue I am having is when saving the entity&nbsp;<code>Driver</code>&nbsp;which has a Many to one relationship on both&nbsp;<code>Carrier</code>&nbsp;and&nbsp;<code>Location</code>.

Dealing with “java.lang.OutOfMemoryError: PermGen space” error

Recently I ran into this error in my web application: