1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.ibatis.session.defaults;
17
18 import org.apache.ibatis.executor.Executor;
19 import org.apache.ibatis.session.Configuration;
20 import org.apache.ibatis.session.SqlSession;
21
22 public class ExtendedSqlSessionFactory extends DefaultSqlSessionFactory {
23
24 public ExtendedSqlSessionFactory(Configuration configuration) {
25 super(configuration);
26 }
27
28 @Override
29 protected SqlSession createSqlSession(Configuration configuration, Executor executor, boolean autoCommit) {
30 return new ExtendedSqlSession(configuration, executor, autoCommit);
31 }
32 }