jpa
-
Spring Data JPA Count the Number of Rows
This article aims to guide you through the process of how to count the number of rows in Spring Data…
Read More » -
JPA @Embedded And @Embeddable Example
1. Introduction In this post, we will examine the functionality of two JPA annotations, the JPA @Embedded and the @Embeddable.…
Read More » -
JPA mappedBy Example
Hello readers, in this tutorial, we will show how to implement the mappedBy annotation in JPA using EclipseLink and MySQL…
Read More » -
JPA persistence.xml Example
Hello readers! In this tutorial we will show how to implement the Java Persistence API and define the JPA Persistence…
Read More » -
JPA CriteriaBuilder Example
The Criteria API is a predefined API used to define queries for entities. It is the alternative way of defining…
Read More » -
JPA Relationship Annotations Example
Here we will look into the JPA Relationship Annotations. This article takes you through the relationships between Entities. Generally the…
Read More » -
JPA Native SQL Queries Example
In this example, we shall see how to use native SQL queries in JPA. The Java Persistence Query Language is…
Read More » -
JPA SQL Stored Procedure Example
Here we will discuss about the JPA SQL Stored Procedures, i.e. using database Stored Procedures from JPA (Java Persistance API)…
Read More » -
JPA EntityManager Example
In this example, we shall try to demonstrate how to use JPA EntityManager. As the name suggests, an EntityManager is…
Read More » -
Map Java Enum type in JPA
In this example we shall show you how to map a Java Enum type in JPA. The Java Persistence API…
Read More »