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.
subject: Deleted objects are showing until next restarting of application