improve JdbcUtils

This commit is contained in:
wenshao
2012-08-15 11:31:36 +08:00
parent edd164db58
commit 7fa6bea1d9
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -414,5 +414,12 @@
<version>4.1.4.Final</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-dbutils</groupId>
<artifactId>commons-dbutils</artifactId>
<version>1.5</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
@@ -649,7 +649,7 @@ public final class JdbcUtils {
return null;
}
}
public static void insertToTable(DataSource dataSource, String tableName, Map<String, Object> data)
throws SQLException {
Connection conn = null;