embulk-output-jdbc 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6a84c1c471a0ee35fcdc0c963fe50fe083b6d12
|
4
|
+
data.tar.gz: c92e05174675c9350f28ec21306b82cb77e5c2e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f81cee609feed021db8d17dcb8004a22c8e9146e9b38ec66b34782071ec4c26c30458500afe941222c771c4b60e1f248e36a280eb2ce5185e52d2d7f9c899a72
|
7
|
+
data.tar.gz: ad347aef36467d414fd0480c709a5ce058c466e06a7ff498b1176fe48c4594cffc470e8c0cc69757ce83e5d75362e32d1fd408c83d526dd76a979e265d1e43ad
|
Binary file
|
@@ -758,8 +758,11 @@ public abstract class AbstractJdbcOutputPlugin
|
|
758
758
|
4000, 0, false, false)); // TODO size type param
|
759
759
|
}
|
760
760
|
|
761
|
-
public void jsonColumn(Column column)
|
762
|
-
|
761
|
+
public void jsonColumn(Column column)
|
762
|
+
{
|
763
|
+
columns.add(JdbcColumn.newGenericTypeColumn(
|
764
|
+
columnName, Types.CLOB, "CLOB",
|
765
|
+
4000, 0, false, false)); // TODO size type param
|
763
766
|
}
|
764
767
|
|
765
768
|
public void timestampColumn(Column column)
|
@@ -1,6 +1,5 @@
|
|
1
1
|
package org.embulk.output.jdbc;
|
2
2
|
|
3
|
-
import java.util.List;
|
4
3
|
import java.util.Calendar;
|
5
4
|
import java.io.IOException;
|
6
5
|
import java.math.BigDecimal;
|
@@ -64,7 +63,9 @@ public class StandardBatchInsert
|
|
64
63
|
|
65
64
|
public void close() throws IOException, SQLException
|
66
65
|
{
|
67
|
-
connection
|
66
|
+
if (connection != null) {
|
67
|
+
connection.close();
|
68
|
+
}
|
68
69
|
}
|
69
70
|
|
70
71
|
public void flush() throws IOException, SQLException
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-output-jdbc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Inserts or updates records to a table.
|
14
14
|
email:
|
@@ -19,7 +19,7 @@ extra_rdoc_files: []
|
|
19
19
|
files:
|
20
20
|
- README.md
|
21
21
|
- build.gradle
|
22
|
-
- classpath/embulk-output-jdbc-0.7.
|
22
|
+
- classpath/embulk-output-jdbc-0.7.2.jar
|
23
23
|
- lib/embulk/output/jdbc.rb
|
24
24
|
- src/main/java/org/embulk/output/JdbcOutputPlugin.java
|
25
25
|
- src/main/java/org/embulk/output/jdbc/AbstractJdbcOutputPlugin.java
|