Return to Snippet

Revision: 3699
at September 3, 2007 06:49 by arunpjohny


Initial Code
Single object 
-------------
HibernateTemplate.delete(Object);


Multiple Objects - Condition
----------------------------
      Query deleteQuery = session.createQuery( "delete Employee employee where employee.age > 58");
      int count = deleteQuery.executeUpdate();

Initial URL

                                

Initial Description
Deleting rows from a table using hibernate 3.

Initial Title
Mass Delete - Hibernate 3

Initial Tags

                                

Initial Language
Java