I am using Hibernate for my persistence layer.
And if I send开发者_Python百科 a web request which asks for some database data to be displayed on the webpage
For the first one or two times, the server responds rightly and data are retrieved and displayed.
However, when the same request is sent repeatedly ( Just by refreshing the browser by hand to resend the request), Hibernate will not respond anything. And it is choked there!
Also the log message stays at the "opening hibernate session" line(shown by SessionFactoryUtils class in Spring)
Any solution??
精彩评论