Hibernate 4: Service and ServiceRegistry

Service and Registries are the newly introduced as part of Hibernate 4.0, here as part of the blog I discussed about the purpose of Service and Registries. I explained how to boostrap the SessionFactory using Service and ServiceRegistry as part of this blog.
Read More

Hibernate With Gradle

In this blog we will understand how develop a basic Hibernate example. We use the build tool as Gradle. Here we will use Hibernate 3 bootstrapping to create SessionFactory rather than StandardServiceRegistry. Will come-up with another blog demonstrating the Hibernate4 bootstrapping capabilities
Read More

Difference between Jdbc and Hibernate

Jdbc stands for Java Database Connectivity. It allows the Java programmers to connect, query and access the data from database. Hibernate is an "Object Relational Mapping" Technology supported Framework in Java. It is high powerful and popular ORM Technology Framework. This blog compares each of them and presents/...
Read More

Difference Between get() and load()

In hibernate, Session  class contains number of methods and every method used for specific purpose. Get and Load both are session class method used for retrieving the data from the database. Get and Load method are going to return data in the object format. There are number of differences available in get and ...
Read More

Hibernate Caching

Limitation of first level cache      Within the user request, session cache has optimized the performance, but across the users still there is performance issue because data is fetched from the database by various different users.
Read More