jpa
-
hibernate
How to map a Composite Primary Key with JPA and Hibernate Example
Hello readers, in this tutorial, we will show how to map the Composite Primary Key with JPA and Hibernate using…
Read More » -
jpa
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
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
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 » -
jsf
JSF JPA CRUD Tutorial
Hello, in this tutorial I would like to show the usage of JPA (Java Persistence API’s) in a simple jsf…
Read More » -
spring
20 Spring Framework Best Practices
Spring Application Framework has been in action for quite a long time, and programmers have developed several conventions, usage patterns,…
Read More » -
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 »