ibatis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbe...@apache.org
Subject svn commit: r883148 - in /ibatis/java/ibatis-3/trunk: ibatis-3-core/src/main/java/org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java version.properties
Date Sun, 22 Nov 2009 21:09:35 GMT
Author: cbegin
Date: Sun Nov 22 21:09:34 2009
New Revision: 883148

URL: http://svn.apache.org/viewvc?rev=883148&view=rev
Log:
IBATIS-697 Change the default value for the options annotation

Modified:
    ibatis/java/ibatis-3/trunk/ibatis-3-core/src/main/java/org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java
    ibatis/java/ibatis-3/trunk/version.properties

Modified: ibatis/java/ibatis-3/trunk/ibatis-3-core/src/main/java/org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java
URL: http://svn.apache.org/viewvc/ibatis/java/ibatis-3/trunk/ibatis-3-core/src/main/java/org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java?rev=883148&r1=883147&r2=883148&view=diff
==============================================================================
--- ibatis/java/ibatis-3/trunk/ibatis-3-core/src/main/java/org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java
(original)
+++ ibatis/java/ibatis-3/trunk/ibatis-3-core/src/main/java/org/apache/ibatis/builder/annotation/MapperAnnotationBuilder.java
Sun Nov 22 21:09:34 2009
@@ -182,7 +182,7 @@
         timeout = options.timeout() > -1 ? options.timeout() : null;
         statementType = options.statementType();
         resultSetType = options.resultSetType();
-        keyGenerator = options.useGeneratedKeys() ? new Jdbc3KeyGenerator() : null;
+        keyGenerator = options.useGeneratedKeys() ? new Jdbc3KeyGenerator() : new NoKeyGenerator();
         keyProperty = options.keyProperty();
       }
       assistant.addMappedStatement(

Modified: ibatis/java/ibatis-3/trunk/version.properties
URL: http://svn.apache.org/viewvc/ibatis/java/ibatis-3/trunk/version.properties?rev=883148&r1=883147&r2=883148&view=diff
==============================================================================
--- ibatis/java/ibatis-3/trunk/version.properties (original)
+++ ibatis/java/ibatis-3/trunk/version.properties Sun Nov 22 21:09:34 2009
@@ -1,5 +1,5 @@
 #Build version info
-#Sun Nov 01 08:24:50 MST 2009
+#Sat Nov 14 19:20:50 MST 2009
 version=3.0.0
-buildDate=2009/11/01 08\:24
-buildNum=209
+buildDate=2009/11/14 19\:20
+buildNum=211



Mime
View raw message