开发者

Hibernate choked when handling repeated request

开发者 https://www.devze.com 2023-03-22 05:44 出处:网络
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

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??

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号