embulk-input-oracle 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/classpath/{embulk-input-jdbc-0.6.1.jar → embulk-input-jdbc-0.6.2.jar} +0 -0
- data/classpath/embulk-input-oracle-0.6.2.jar +0 -0
- data/src/main/java/org/embulk/input/OracleInputPlugin.java +5 -1
- data/src/main/java/org/embulk/input/oracle/OracleInputConnection.java +1 -1
- metadata +4 -4
- data/classpath/embulk-input-oracle-0.6.1.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: 13ed35db5d4f69ec30432298b64e5a57064bac7e
|
4
|
+
data.tar.gz: 281663c19d02d1a1d08e8b187f3156cbea21e0f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7f9df11f027309647abd53ecf1dbffd4483e419d11f38e95f9b4407f3bef7196c8a81c9382ac0ce9c07a5ccf08af421a4e2be06664e4894534b0e01074ee100
|
7
|
+
data.tar.gz: aa9ecd21ca8ff9dfd1fe361ad1cc373297fdb29ac5722f698384afe96b3d61463d9cbd39b633a3a885442a9a4f9b3d03c16e29ae1ca8cc024669d69551376ac4
|
data/README.md
CHANGED
@@ -15,6 +15,7 @@ Oracle input plugins for Embulk loads records from Oracle.
|
|
15
15
|
- **user**: database login user name (string, required)
|
16
16
|
- **password**: database login password (string, default: "")
|
17
17
|
- **database**: destination database name (string, required if url is not set)
|
18
|
+
- **schema**: destination schema name (string, default: use the default schema). old Oracle JDBC driver (ojdbc6.jar) doesn't support.
|
18
19
|
- **url**: URL of the JDBC connection (string, optional)
|
19
20
|
- If you write SQL directly,
|
20
21
|
- **query**: SQL to run (string)
|
Binary file
|
Binary file
|
@@ -35,6 +35,10 @@ public class OracleInputPlugin
|
|
35
35
|
@ConfigDefault("null")
|
36
36
|
public Optional<String> getDatabase();
|
37
37
|
|
38
|
+
@Config("schema")
|
39
|
+
@ConfigDefault("null")
|
40
|
+
public Optional<String> getSchema();
|
41
|
+
|
38
42
|
@Config("url")
|
39
43
|
@ConfigDefault("null")
|
40
44
|
public Optional<String> getUrl();
|
@@ -94,7 +98,7 @@ public class OracleInputPlugin
|
|
94
98
|
|
95
99
|
Connection con = DriverManager.getConnection(url, props);
|
96
100
|
try {
|
97
|
-
OracleInputConnection c = new OracleInputConnection(con, oracleTask.
|
101
|
+
OracleInputConnection c = new OracleInputConnection(con, oracleTask.getSchema().orNull());
|
98
102
|
con = null;
|
99
103
|
return c;
|
100
104
|
} finally {
|
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.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:
|
11
|
+
date: 2016-01-04 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.2.jar
|
26
|
+
- classpath/embulk-input-oracle-0.6.2.jar
|
27
27
|
homepage: https://github.com/embulk/embulk-input-jdbc
|
28
28
|
licenses:
|
29
29
|
- Apache 2.0
|
Binary file
|