hibernate
-
Hibernate Enum Type Mapping Example
In hibernate; developers can map the Java Enum type to a column in the database. In this tutorial, we will…
Read More » -
Hibernate Persist Example
In hibernate; an entity or a record can be saved in a database using the save(), persist(), or the saveOrUpdate()…
Read More » -
Hibernate @NamedQuery Annotation Example
In hibernate; developers can create the Named Queries that is a group of query statements. This tutorial will explore the…
Read More » -
Hibernate Foreign Key Example
1. Introduction In this post, we feature a comprehensive Example on Hibernate Foreign Key. Foreign key refers to single column…
Read More » -
Hibernate with Gradle Example
1. Introduction Hibernate is an Object-Relational Mapping (ORM) framework which acts as the transformational layer between the object-oriented programming model…
Read More » -
Hibernate in Eclipse with PostgreSQL Example
This article will show you a simple example of how to use Hibernate in Eclipse with PostgreSQL. PostgreSQL is an…
Read More » -
Hibernate SQL Parameter Values using Log4j Example
When using Hibernate, if developers log the Hibernate SQL statements, they will see something like this: Hibernate: insert into student…
Read More » -
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 » -
Hibernate Session byId Example
Hibernate Session provide different methods to fetch the data (or a single record) from the database. In this tutorial, we…
Read More » -
Hibernate Load Example
Hibernate Session provide different methods to fetch the data (or a single record) from the database. Two of them are…
Read More »