提交 5a365074 编写于 作者: R Rossen Stoyanchev

Fix issue with failing test from previous commit

Issue: SPR-9611
上级 6cc512b5
......@@ -217,7 +217,7 @@ public class OpenSessionInViewFilter extends OncePerRequestFilter {
closeSession(sessionHolder.getSession(), sessionFactory);
}
else {
if (!chain.pop()) {
if (chain.isAsyncStarted()) {
throw new IllegalStateException("Deferred close is not supported with async requests.");
}
// deferred close mode
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册