• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate

 
vidya archana
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've written an application which just inserts/updates and deletes from a table.In the db, rt now there are only 2 entries. But in the page 7 rows are displayed, out of which 5 records are added earlier and removed manually from the db. But it is still displaying. How to remove it from the session ?

Thanks

Vidya
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have hibernate configured to cache your data?

I think if Hibernate is configured to cache your data, you need to be careful when modifying it externally.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!