Skip to content

Commit 2c932fb

Browse files
committed
更新至0.8.2版本
1 parent d57c145 commit 2c932fb

30 files changed

+1092
-123
lines changed

pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.github.limeng32</groupId>
66
<artifactId>mybatis.flying</artifactId>
7-
<version>0.8.1</version>
7+
<version>0.8.2</version>
88
<packaging>jar</packaging>
99

1010
<name>mybatis.flying</name>
@@ -52,6 +52,7 @@
5252
<mysql-connector-java.version>5.1.31</mysql-connector-java.version>
5353
<atomikos.version>3.9.3</atomikos.version>
5454
<jta.version>1.1</jta.version>
55+
<javax.persistence.version>1.0</javax.persistence.version>
5556
</properties>
5657
<dependencies>
5758
<dependency>
@@ -188,6 +189,11 @@
188189
<version>3.9.3</version>
189190
<scope>test</scope>
190191
</dependency>
192+
<dependency>
193+
<groupId>javax.persistence</groupId>
194+
<artifactId>persistence-api</artifactId>
195+
<version>${javax.persistence.version}</version>
196+
</dependency>
191197
</dependencies>
192198
<repositories>
193199
<repository>
@@ -331,7 +337,7 @@
331337
</activation>
332338
<properties>
333339
<gpg.executable>gpg</gpg.executable>
334-
<gpg.passphrase>Aptx4869</gpg.passphrase>
340+
<gpg.passphrase>${flying.gpg.passphrase}</gpg.passphrase>
335341
</properties>
336342
</profile>
337343
<profile>

src/main/java/indi/mybatis/flying/AerialView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
public class AerialView {
55

66
/* flying当前版本 */
7-
public static final String FLYING_VERSION = "0.8.1";
7+
public static final String FLYING_VERSION = "0.8.2";
88

99
/* 此版本和其它版本主要区别代码如下 */
10-
}
10+
}

src/main/java/indi/mybatis/flying/annotations/FieldMapperAnnotation.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,17 @@
6363

6464
/**
6565
*
66-
* 是否拥有忽略标志。默认为无。当有忽略标志foo时,flying表达式最后加上“:foo”即可在查询语句中忽略此字段
66+
* 是否拥有忽略标志。默认为无。当有忽略标志foo时,flying表达式最后加上“:foo”即可在新增、查询、修改语句中忽略此字段
6767
*
6868
* @return String[]
6969
*/
7070
String[] ignoreTag() default {};
7171

7272
/**
7373
*
74-
* 跨库相关表是否使用指定TypeHandler处理。默认为Objectclass,表示不指定TypeHandler。此属性用于解决跨库表关联问题,因此不应和dbAssociationUniqueKey同时出现。
74+
* 跨库相关表是否使用指定TypeHandler处理。默认为Void.class,表示不指定TypeHandler。此属性用于解决跨库表关联问题,因此不应和dbAssociationUniqueKey同时出现。
7575
*
76-
* @return Class<?>
76+
* @return Class
7777
*/
78-
Class<?> dbAssociationTypeHandler() default Object.class;
79-
}
78+
Class<?> dbAssociationTypeHandler() default Void.class;
79+
}

0 commit comments

Comments
 (0)