File tree Expand file tree Collapse file tree 4 files changed +26
-11
lines changed
src/main/java/tk/mybatis/spring/mapper Expand file tree Collapse file tree 4 files changed +26
-11
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ Country代码:
92
92
<dependency >
93
93
<groupId >tk.mybatis</groupId >
94
94
<artifactId >mapper</artifactId >
95
- <version >3.3.5 </version >
95
+ <version >3.3.6 </version >
96
96
</dependency >
97
97
```
98
98
@@ -108,7 +108,11 @@ http://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/
108
108
109
109
##[ 更新日志] ( http://git.oschina.net/free/Mapper/blob/master/wiki/Changelog.md )
110
110
111
- ##最新版本3.3.5 - 2016-02-16
111
+ ##最新版本3.3.6 - 2016-02-20
112
+
113
+ * 增加对mybatis-spring 1.2.4版本的支持,兼容之前的版本
114
+
115
+ ###3 .3.5 - 2016-02-16
112
116
113
117
* ` Example ` 增加对动态表名支持,通过` setTableName ` 设置表名
114
118
* 在example相关的两个` update ` 方法中,参数为实体类和` Example ` ,这个方法只能通过` Example ` 来设置动态表名,不支持通过实体设置动态表名
Original file line number Diff line number Diff line change 28
28
29
29
<groupId >tk.mybatis</groupId >
30
30
<artifactId >mapper</artifactId >
31
- <version >3.3.5 </version >
31
+ <version >3.3.6 </version >
32
32
<packaging >jar</packaging >
33
33
34
34
<name >mapper</name >
67
67
<artifactId >persistence-api</artifactId >
68
68
<version >1.0</version >
69
69
</dependency >
70
- <dependency >
71
- <groupId >org.mybatis</groupId >
72
- <artifactId >mybatis-spring</artifactId >
73
- <version >1.2.1</version >
74
- <scope >compile</scope >
75
- <optional >true</optional >
76
- </dependency >
77
70
<dependency >
78
71
<groupId >org.springframework</groupId >
79
72
<artifactId >spring-context</artifactId >
93
86
<dependency >
94
87
<groupId >org.mybatis</groupId >
95
88
<artifactId >mybatis</artifactId >
96
- <version >3.2.8</version >
89
+ <version >3.3.1</version >
90
+ <scope >compile</scope >
91
+ <optional >true</optional >
92
+ </dependency >
93
+ <dependency >
94
+ <groupId >org.mybatis</groupId >
95
+ <artifactId >mybatis-spring</artifactId >
96
+ <version >1.2.4</version >
97
97
<scope >compile</scope >
98
98
<optional >true</optional >
99
99
</dependency >
Original file line number Diff line number Diff line change @@ -36,6 +36,13 @@ public class MapperFactoryBean<T> extends org.mybatis.spring.mapper.MapperFactor
36
36
37
37
private MapperHelper mapperHelper ;
38
38
39
+ public MapperFactoryBean () {
40
+ }
41
+
42
+ public MapperFactoryBean (Class <T > mapperInterface ) {
43
+ super (mapperInterface );
44
+ }
45
+
39
46
/**
40
47
* {@inheritDoc}
41
48
*/
Original file line number Diff line number Diff line change 1
1
#更新日志
2
2
3
+ ##3 .3.6 - 2016-02-20
4
+
5
+ * 增加对mybatis-spring 1.2.4版本的支持,兼容之前的版本
6
+
3
7
##3 .3.5 - 2016-02-16
4
8
5
9
* ` Example ` 增加对动态表名支持,通过` setTableName ` 设置表名
You can’t perform that action at this time.
0 commit comments