jpa
-
spring
Spring Data JPA Example
In this article we will see some examples of the Spring Data JPA. The goal of Spring Data repository abstraction…
Read More » -
Enterprise Java
JPA Named Query Example
1. Introduction In this article you will learn how to use the JPA @NamedQuery and @NamedNativeQuery annotations. We will start…
Read More » -
Enterprise Java
JPA One-to-One Example
1. Introduction In this article we will explore the JPA @OneToOne association in a SQL and NoSQL fashion. A @OneToOne…
Read More » -
Enterprise Java
JPA One-to-Many Example
1. Introduction In this article we will explore the JPA @OneToMany and @ManyToOne associations in a SQL and NoSQL fashion.…
Read More » -
Enterprise Java
JPA Many-to-Many association in SQL and NoSQL databases under Payara
1. Introduction In this article we will explore the JPA bidirectional @ManyToMany association in a SQL and NoSQL fashion. A…
Read More » -
hibernate
Hibernate JPA DAO Example
This is an example of how to create Data Access Objects (DAOs), making use of the Hibernate implementation for the…
Read More » -
jpa
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 » -
jpa
Embedded compound primary key in JPA
With this example we are going to demonstrate how to create an embedded compound primary key in JPA. The Java…
Read More » -
jpa
Named query with entity in JPA
This is an example of how to create a named query with an entity in JPA. The Java Persistence API…
Read More » -
jpa
Single table inheritance in JPA
In this example we shall show you how to create a single table inheritance in JPA. The Java Persistence API…
Read More »