hibernate
-
hibernate
Hibernate Optimistic Locking Example
In hibernate, Locking represents a mechanism to safeguard the records that can be simultaneously accessed to avoid the concurrency errors…
Read More » -
hibernate
Hibernate Calling Stored Procedure Example
Stored Procedures are a set of compiled SQL statements residing in the database. In hibernate; there are three different approaches…
Read More » -
hibernate
Hibernate DateTime Mapping Example
In hibernate; @Temporal annotation is used to store java.sql.Time, java.sql.Date or java.sql.Timestamp in the database. In this tutorial, we will…
Read More » -
hibernate
Hibernate Manual and Always flush modes Example
In hibernate; flushing strategy is a process that controls how many times hibernate hits the database when it comes to…
Read More » -
hibernate
Hibernate FlushMode Commit Example
In hibernate; flushing strategy is a process that controls how many times hibernate hits the database when it comes to…
Read More » -
hibernate
Hibernate Projections Tutorial
In hibernate; developers can implement the Projection interface to read the partial entity or entities from the relational database. In…
Read More » -
hibernate
Hibernate Criteria using Restrictions Example
In hibernate; developers can use the criteria query language to fetch the records from a relational database based on specific…
Read More » -
hibernate
Hibernate Lifecycle States Tutorial
In hibernate; it is important for developers to understand whether an object is saved in the database or not. In…
Read More » -
hibernate
Hibernate Merge Example
In hibernate; both merge() and update() methods updates an entity and can also affect the state of an object i.e.…
Read More » -
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 »