Skip to content

Commit e0065c4

Browse files
committed
3.3.8-SNAPSHOT
1 parent 07ba816 commit e0065c4

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
##MyBatis工具网站:[http://mybatis.tk](http://www.mybatis.tk)
1212

13+
##特别强调:不是表中字段的属性必须加`@Transient`注解
14+
1315
##项目文档
1416

1517
###在你打算使用通用Mapper前,一定要看看下面的文档,许多人在初次使用时遇到的问题,99%都在文档中有说明!!
@@ -80,7 +82,7 @@ Country代码:
8082

8183
[使用Mapper专用的MyBatis Generator插件](http://git.oschina.net/free/Mapper/blob/master/wiki/mapper3/7.UseMBG.md) 可以方便的生成这些(带注解的)实体类。
8284

83-
##通用Mapper支持Mybatis-3.2.4及以上版本
85+
##通用Mapper支持Mybatis-3.2.4及以上版本
8486

8587
##使用Maven
8688

@@ -106,6 +108,10 @@ http://repo1.maven.org/maven2/javax/persistence/persistence-api/1.0/
106108

107109
##[更新日志](http://git.oschina.net/free/Mapper/blob/master/wiki/Changelog.md)
108110

111+
##3.3.8-SNAPSHOT - 2016-03-19
112+
113+
* 解决ResultMapping.Builder3.2.6版本新增`lazy`方法导致无法兼容3.2.4~3.2.5版本的问题,仍然兼容3.2.4+
114+
109115
##最新版本3.3.7 - 2016-03-12
110116

111117
* `Example`增加`orderBy`方法,使用属性进行排序,例如:`example.orderBy("id").desc().orderBy("countryname").orderBy("countrycode").asc();`

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
<groupId>tk.mybatis</groupId>
3030
<artifactId>mapper</artifactId>
31-
<version>3.3.7</version>
31+
<version>3.3.8-SNAPSHOT</version>
3232
<packaging>jar</packaging>
3333

3434
<name>mapper</name>
@@ -86,7 +86,7 @@
8686
<dependency>
8787
<groupId>org.mybatis</groupId>
8888
<artifactId>mybatis</artifactId>
89-
<version>3.3.1</version>
89+
<version>3.2.4</version>
9090
<scope>compile</scope>
9191
<optional>true</optional>
9292
</dependency>

src/main/java/tk/mybatis/mapper/entity/EntityTable.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ public ResultMap getResultMap(Configuration configuration) {
209209
flags.add(ResultFlag.ID);
210210
}
211211
builder.flags(flags);
212-
builder.lazy(false);
213212
resultMappings.add(builder.build());
214213
}
215214
ResultMap.Builder builder = new ResultMap.Builder(configuration, "BaseMapperResultMap", this.entityClass, resultMappings, true);

0 commit comments

Comments
 (0)