When I run my web-app(that uses hibernate) in firefox for example, the correct entries read from mysql table are shown.
If I then change records in the table, and open a new browser, say Chrome..
And load the same web-app, the updated value is not shown, I have to refresh the browser, even though its a freshly opened browser.
I don't really get it, when I call the servlet, it should read from the database and return the result, so why is it putting an old result on screen?
Thanks for any help.
posted 4 years ago
Okay, I tried closing the hibernate session object after making the query, it seems ok now.
But I don't know if its wise to do that or if it doesn't really matter.
Aaaaaand ... we're on the march. Stylin. Get with it tiny ad.