This article shows entity setups in which Hibernate executes a Cartesian Product SQL query, which may cause serious performance problems for large data sets. We’ll also study a few typical […]
As Hibernate uses JDBC in the background, all the operations we perform on entites, like persisting, deleting or modifying state, result in a set of SQL queries being executed against […]
This article expands the topic of database related concurrency control in java using the Hibernate Framework. You’ll understand what Pessimistic Locking is and how to implement it with Hibernate. We’ll […]
As seen in previous article, Hibernate, by default, follows the JDBC approach of relying on DBMS default transaction isolation level allowing to override it for a specific transaction if required. […]
This article describes how transactions are handled and managed in Hibernate Framework. We will also look into an EntityManager interface to see how can it be helpful in ensuring data […]
From the previous article, we know that transactions can interfere with each other, which can adversely impact what they’re trying to accomplish, or rather what the code author tried to […]
This article will introduce you to the idea of a transaction which is frequently seen in Hibernate and software systems overall. You’ll understand why it’s so important and recognize the […]
This article and code behind it, show how to assemble a standalone, fully functional application, which as one of its main points utilizes Hibernate and Spring. You can take a […]
This article gives an overview of how to map a one to one entity relation with Hibernate JPA. After reading it you should know how to use JPA annotations to […]
This is an extension to the previous post about unidirectional many to one mapping. Please ensure to get familiar with it before you move to bi-directionality. This post will give […]