This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
After deleting an object in hibernate it is deleted in the database. but in the application it is still showing until the next restart of application. i have tried session.flush(), session.commit(), session.close().
What to do??
you should check your transaction boundries if you have specified any.
hibernate will do dirty checking after the tranastion commit, and then all the changes will reflect.
for more info please check transaction management in hibernate or post the code.