This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
Deleted objects are showing until next restarting of application
posted 4 years ago
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.