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 » -
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 » -
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 » -
One To Many bidirectional mapping in JPA
With this example we are going to demonstrate how to use One to Many bidirectional mapping in JPA. The Java…
Read More » -
One To Many unidirectional mapping in JPA
This is an example of how to use One to Many unidirectional mapping in JPA. The Java Persistence API provides…
Read More » -
Many To One Mapping in JPA
In this example we shall show you how to create a many to one mapping in JPA. The Java Persistence…
Read More » -
Delete with condition in JPA
With this example we are going to demonstrate how to delete with a condition in JPA. The Java Persistence API…
Read More » -
Remove Entity with JPA
This is an example of how to remove an entity using the JPA. The Java Persistence API provides Java developers…
Read More » -
Set column name and length
In this example we shall show you how to set the column name and length in an entity field in…
Read More » -
Get single object in JPA
With this example we are going to demonstrate how to get a single object in JPA. The Java Persistence API…
Read More »