Author: Nitesh Sahay

Batch Processing Example in Hibernate

Hi Friends ,let’s go through an example to understand batch processing in hibernate.Before moving to the example itself ,first of all, I would like to mention what is batch processing with respect to a database and what...

Hibernate Second Level Cache

Hibernate Second Level cache Demonstration

Here we demonstrate the hibernate second level cache  using ehcache.Here in this example we are using one entity student and READ_ONLY cache strategy to handle cache. Sample Code StudentInfo.java package com.nik.model; import javax.persistence.Column; import...

Hibernate First Level cache Example

Hello friends, today I would like to discuss Hibernate First Level Cache which is available to any valid hibernate session . So it means all the objects which are in the persistent state are available...