Login with  Log in with facebook
Hiring Manager? SIGN UP HERE
0

Hi

How can i delete an record from hibernate methods?

Abhendra Singh
07/08/2011 at 04:40
3 Answers
1
0
sql-query name="DeleteExpiredTickets">
 
DELETEFROM tickets WHERE expires < getdate()
</sql-query>
session.getNamedQuery("DeleteExpiredTickets").executeUpdate();
Ajay Jangid
07/08/2011 at 06:28

2
0

</>

Garima Sharma
07/11/2011 at 00:05

3
0

Use delete method of Hibernate Session object. Visit this.

Vikas Agarwal
07/14/2011 at 01:45

If you want to post any answer to this forum then you need to log in.
Schedule a Demo

Schedule a Demo with us

Name *
Email *
Phone *
Company *
Details