spring拦截关闭session

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u011119684/article/details/78672560

TransactionInterceptor.invoke

commitTransactionAfterReturning

commit

processCommit

cleanupAfterCompletion

doCleanupAfterCompletion

SessionFactoryUtils.closeSessionOrRegisterDeferredClose(session, getSessionFactory());

closeSession(session);

猜你喜欢

转载自blog.csdn.net/u011119684/article/details/78672560