/ Published in: Java
Deleting rows from a table using hibernate 3.
Expand |
Embed | Plain Text
Single object ------------- Multiple Objects - Condition ---------------------------- Query deleteQuery = session.createQuery( "delete Employee employee where employee.age > 58"); int count = deleteQuery.executeUpdate();
You need to login to post a comment.
