File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/main/java/org/mybatis/cdi Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3131public class JtaTransactionInterceptor extends LocalTransactionInterceptor {
3232
3333 @ Inject
34- private UserTransaction userTransaction ;
34+ private transient UserTransaction userTransaction ;
3535
3636 @ Override
3737 protected boolean isTransactionActive () throws Exception {
Original file line number Diff line number Diff line change 1515 */
1616package org .mybatis .cdi ;
1717
18+ import java .io .Serializable ;
1819import java .lang .reflect .InvocationTargetException ;
1920import java .lang .reflect .UndeclaredThrowableException ;
2021
3839 */
3940@ Transactional
4041@ Interceptor
41- public class LocalTransactionInterceptor {
42+ public class LocalTransactionInterceptor implements Serializable {
4243
4344 @ Inject
44- private SqlSessionManagerRegistry registry ;
45+ private transient SqlSessionManagerRegistry registry ;
4546
4647 @ AroundInvoke
4748 public Object invoke (InvocationContext ctx ) throws Exception {
You can’t perform that action at this time.
0 commit comments