Author: Nitesh Sahay

StatelessSession Interface

StatelessSession Interface

StatelessSession Interface If you want to avoid the high level of hibernate life cycle and the persistance level then StatelessSession(org.hibernate.StatelessSession) is the solution.It neglects the 1st level and second level of cache.It works similar...

Update table using HQL

Update table using HQL

Update table using HQL This example of code is using the previous hibernate configuration ,orm file and Java class file   try {           Session session=HibernateSessionFactory.getSessionFactory().openSession();           Transaction tx=session.beginTransaction();            String hql = “UPDATE StudentClass s SET...

Hibernate Introduction with Simple Hibernate example

Introduction to Hibernate Hi friends ,today I am going to start one of the important framework related to databases.We always think and heard of many relational databases and related query language.For handling a big...