embulk-input-oracle 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/classpath/{embulk-input-jdbc-0.6.0.jar → embulk-input-jdbc-0.6.1.jar} +0 -0
- data/classpath/embulk-input-oracle-0.6.1.jar +0 -0
- data/src/main/java/org/embulk/input/OracleInputPlugin.java +2 -0
- metadata +4 -4
- data/classpath/embulk-input-oracle-0.6.0.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50c40cde3be970585fe7f306f6be239566981651
|
4
|
+
data.tar.gz: e6d8a5fa4f17434f93714fe8554dcd66c4f444f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3249e4da1ec6af857a48cd902103745f1b88f543a5d95c13ec4460e15033389b2bb652cfffc2d132dc7a19f712dc71c2c3844778aa8be0ae00c5247bf7582753
|
7
|
+
data.tar.gz: 693fcfeb2d8abc52eb7ea154b9b74673b1643ecc101095b47264d3e495e191422ff3a96a0539f888d065bd84ebea8ea630cd0bf5e386011cce6d7e1eb8aa1c69
|
data/README.md
CHANGED
@@ -23,6 +23,8 @@ Oracle input plugins for Embulk loads records from Oracle.
|
|
23
23
|
- **select**: comma-separated list of columns to select (string, default: "*")
|
24
24
|
- **where**: WHERE condition to filter the rows (string, default: no-condition)
|
25
25
|
- **fetch_rows**: number of rows to fetch one time (used for java.sql.Statement#setFetchSize) (integer, default: 10000)
|
26
|
+
- **connect_timeout**: timeout for establishment of a database connection. (integer (seconds), default: 300)
|
27
|
+
- **socket_timeout**: timeout for socket read operations. (integer (seconds), default: 1800)
|
26
28
|
- **options**: extra JDBC properties (hash, default: {})
|
27
29
|
- **default_timezone**: If the sql type of a column is `date`/`time`/`datetime` and the embulk type is `string`, column values are formatted int this default_timezone. You can overwrite timezone for each columns using column_options option. (string, default: `UTC`)
|
28
30
|
- **column_options**: advanced: a key-value pairs where key is a column name and value is options for the column.
|
Binary file
|
Binary file
|
@@ -78,6 +78,8 @@ public class OracleInputPlugin
|
|
78
78
|
Properties props = new Properties();
|
79
79
|
props.setProperty("user", oracleTask.getUser());
|
80
80
|
props.setProperty("password", oracleTask.getPassword());
|
81
|
+
props.setProperty("oracle.net.CONNECT_TIMEOUT", String.valueOf(oracleTask.getConnectTimeout() * 1000)); // milliseconds
|
82
|
+
props.setProperty("oracle.jdbc.ReadTimeout", String.valueOf(oracleTask.getSocketTimeout() * 1000)); // milliseconds
|
81
83
|
props.putAll(oracleTask.getOptions());
|
82
84
|
|
83
85
|
if (oracleTask.getDriverPath().isPresent()) {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-oracle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Selects records from a table.
|
14
14
|
email:
|
@@ -22,8 +22,8 @@ files:
|
|
22
22
|
- lib/embulk/input/oracle.rb
|
23
23
|
- src/main/java/org/embulk/input/OracleInputPlugin.java
|
24
24
|
- src/main/java/org/embulk/input/oracle/OracleInputConnection.java
|
25
|
-
- classpath/embulk-input-jdbc-0.6.
|
26
|
-
- classpath/embulk-input-oracle-0.6.
|
25
|
+
- classpath/embulk-input-jdbc-0.6.1.jar
|
26
|
+
- classpath/embulk-input-oracle-0.6.1.jar
|
27
27
|
homepage: https://github.com/embulk/embulk-input-jdbc
|
28
28
|
licenses:
|
29
29
|
- Apache 2.0
|
Binary file
|