Hibernate
-
Core Java

H2 DESC Command Alternatives
The H2 Database is a lightweight, fast, and open-source relational database management system, often used for embedded or in-memory database…
Read More » -
Enterprise Java

Store Arrays & Collections In JSON & XML In Hibernate
Hibernate is a powerful and flexible ORM (Object-Relational Mapping) framework that simplifies the interaction between Java applications and relational databases.…
Read More » -
Enterprise Java

Tear Down HSQLDB Database After Tests
Testing is a critical aspect of software development, and maintaining a clean test environment ensures accurate and reliable results. This…
Read More » -
Core Java

EntityManagerFactory vs SessionFactory
In the world of Java application development, interacting with databases efficiently is critical. Two key components often come into play…
Read More » -
Core Java

@MapsId Annotation Example
1. Introduction The @MapsId annotation provided by JPA 2.0 is used to map a foreign key in a one-to-one or…
Read More » -
Core Java

Hibernate @TimeZoneStorage Example
1. Introduction Hibernate 6 introduces TimeZoneStorage annotation that specifies how the time zone information of a persistent property or field…
Read More » -
Enterprise Java

Spring Data DynamicInsert Annotation Example
1. Introduction Spring Data JPA supports common JPA providers, e.g. Hibernate, EclipseLink, etc. Hibernate pre-generates and caches static SQL insert…
Read More » -
Core Java

Change Field Value Before Update and Insert in Hibernate
Changing field values before inserting or updating data in a database is a common requirement in many applications. In Hibernate,…
Read More » -
Enterprise Java

Fixing Spring Boot H2 Exception: “Schema not found”
The H2 “Schema Not Found” exception is a common issue that occurs when using Spring Boot with an H2 in-memory…
Read More »



