You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by th...@apache.org on 2017/07/21 03:53:01 UTC

[03/14] commons-dbutils git commit: Update version in pom for 1.7 release Update release notes Cleanup description and template

Update version in pom for 1.7 release
Update release notes
Cleanup description and template


Project: http://git-wip-us.apache.org/repos/asf/commons-dbutils/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-dbutils/commit/ab593fd4
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbutils/tree/ab593fd4
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbutils/diff/ab593fd4

Branch: refs/heads/master
Commit: ab593fd40fd9e4177882a79e31e85a1afcd61cd4
Parents: 7ea0178
Author: Carl Hall <th...@apache.org>
Authored: Sat Jul 8 23:21:31 2017 -0700
Committer: Carl Hall <th...@apache.org>
Committed: Sat Jul 8 23:21:31 2017 -0700

----------------------------------------------------------------------
 RELEASE-NOTES.txt            | 53 ++++++++++++++++-----------------------
 pom.xml                      |  5 ++--
 src/changes/changes.xml      |  5 +++-
 src/changes/release-notes.vm |  2 +-
 4 files changed, 29 insertions(+), 36 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/ab593fd4/RELEASE-NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index e5b9ef5..8105c5b 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -1,46 +1,37 @@
 
               Apache Commons DbUtils
-                     Version 1.6
+                     Version 1.7
                     RELEASE NOTES
 
-The Apache Commons DbUtils team is pleased to announce the release of Apache Commons DbUtils 1.6.
+The Apache Commons DbUtils team is pleased to announce the release of Apache Commons DbUtils 1.7
+
 The Apache Commons DbUtils package is a set of Java utility classes for easing JDBC development.
 
+Bugfixes and separate column & property handlers using SPI
+
 Changes in this version include:
 
-NEW FEATURES:
-=============
-o DBUTILS-113:  Add support for conversion of ResultSet strings to enums in the BeanProcessor
-                Thanks to Graylin Kim, Michael Osipov.
-o DBUTILS-108:  Create functionality to return auto-generated keys in batches of SQL inserts
-                Thanks to Micah Huff.
-o DBUTILS-107:  Patch QueryLoader to also load from XML properties files
-                Thanks to PB.
-o DBUTILS-98:   Add missing JavaDoc to QueryRunner#insert
-                Thanks to Moandji Ezana.
-o DBUTILS-97:   Add an Abstract ResultSetHandler implementation in order to reduce redundant 'resultSet' variable invocation
-o DBUTILS-87:   Added insert methods to QueryRunner and AsyncQueryRunner that return the generated key.
-                Thanks to Moandji Ezana.
-
-FIXED BUGS:
-===========
-o DBUTILS-110:  ArrayHandler should return an empty array when handle has no rows 
-o DBUTILS-114:  Order of columns not retained in BasicRowProcessor with HashMap
-                Thanks to Michael Osipov.
-o DBUTILS-118:  BeanProcessor not returning nanoseconds
-                Thanks to Feysal Rujbally, Daniele Cremonini.
-o DBUTILS-106:  DBUtils can't build using JDK 1.7 - DriverProxy needs to implement getParentLogger()
-                Add dynamic invocation. Thanks to Niall Pemberton.
-o DBUTILS-100:  Updated the use of getColumnName to try getColumnLabel first Thanks to xiaofei.xu. 
-o DBUTILS-96:   DbUtils#loadDriver(ClassLoader,String) makes DriverManager throwing "No suitable driver found for jdbc"
-                if ClassLoader is not the System's one Thanks to yuyf.
+New features:
+o DBUTILS-121:  Add getWriteMethod to BeanProcessor to allow subclasses to influence which write method is used 
+o DBUTILS-50:  Support CallableStatement "out" parameters Thanks to Dan Fabulich. 
+o DBUTILS-124:  Implement column and property handlers using Java's service interfaces. 
+
+Fixed Bugs:
+o DBUTILS-82:  Change method contracts to allow extended class types when returning a bean populated from a query Thanks to Kenshi Toriumi. 
+o DBUTILS-89:  Add method in BeanProcessor to populate an existing bean Thanks to Adam Dyga. 
+o DBUTILS-70:  Add ability to configure statements used in QueryRunner Thanks to Michael Akerman. 
 
 Changes:
-o DBUTILS-85:   In BeanProcessor#isCompatibleType, can Integer.class.isInstance(value) be replaced by value instanceof Integer (etc)?
-                Simplified code by using instanceof.
+o DBUTILS-117:  Error handling possible getParameterMetaData() results
+        - allow for null return
+        - handle SQLFeatureNotSupportedException Thanks to Vadim Smirnov. 
+o DBUTILS-119:  Correct errors in BeanMapHandler JavaDoc Thanks to Michael Akerman. 
+o PR/1:  Created some Unit Tests to increase code coverage. Thanks to Michael Hausegger. 
 
 
 For complete information on Apache Commons DbUtils, including instructions on how to submit bug reports,
 patches, or suggestions for improvement, see the Apache Apache Commons DbUtils website:
 
-http://commons.apache.org/proper/commons-dbutils/
+https://commons.apache.org/proper/commons-dbutils/
+
+

http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/ab593fd4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 31ed4e5..b3e84ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,12 +24,11 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>commons-dbutils</groupId>
   <artifactId>commons-dbutils</artifactId>
-  <version>1.7-SNAPSHOT</version>
+  <version>1.7</version>
   <name>Apache Commons DbUtils</name>
 
   <inceptionYear>2002</inceptionYear>
-  <description>The Apache Commons DbUtils package is a set of
-  Java utility classes for easing JDBC development.</description>
+  <description>The Apache Commons DbUtils package is a set of Java utility classes for easing JDBC development.</description>
 
   <url>https://commons.apache.org/proper/commons-dbutils/</url>
 

http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/ab593fd4/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 5139fc7..1affdf4 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -44,7 +44,7 @@ The <action> type attribute can be add,update,fix,remove.
   </properties>
   <body>
 
-    <release version="1.7" date="TBA" description="TBD">
+    <release version="1.7" date="TBA" description="Bugfixes and separate column &amp; property handlers using SPI">
       <action dev="sebb" type="update" issue="DBUTILS-117" due-to="Vadim Smirnov">
         Error handling possible getParameterMetaData() results
         - allow for null return
@@ -71,6 +71,9 @@ The <action> type attribute can be add,update,fix,remove.
       <action dev="thecarlhall" type="add" issue="DBUTILS-124">
         Implement column and property handlers using Java's service interfaces.
       </action>
+      <action dev="thecarlhall" type="update" issue="PR/1" due-to="Michael Hausegger">
+        Created some Unit Tests to increase code coverage.
+      </action>
     </release>
 
     <release version="1.6" date="2014-07-20" description="Bugfixes and addition of insert methods">

http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/ab593fd4/src/changes/release-notes.vm
----------------------------------------------------------------------
diff --git a/src/changes/release-notes.vm b/src/changes/release-notes.vm
index b060584..6944be0 100644
--- a/src/changes/release-notes.vm
+++ b/src/changes/release-notes.vm
@@ -16,7 +16,7 @@
 ## under the License.
 
               ${project.name}
-                     Version ${version} 
+                     Version ${version}
                     RELEASE NOTES
 
 The ${developmentTeam} is pleased to announce the release of ${project.name} ${version}