simpleOracleJDBC 0.3.1 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simple_oracle_jdbc/bindings.rb +1 -2
- data/lib/simple_oracle_jdbc/ora_array.rb +3 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d458e31088171d97acb23eec224e1c3aac545688
|
4
|
+
data.tar.gz: 1db1556d08351a91af1c0f054f37b70a9cedd20d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 955453a4c7ec2706501e935588587b77dcfd9e89651fcb7558f5574a0585b29bb758cbbfa7621636ae70e13e2663c838b34d404c1031fd20565e9f7f120cff46
|
7
|
+
data.tar.gz: 96aacfba42bb2b7f6208eabdb23bd563e882a1c1720ae3f7bffd6b9213af8537798de6353951264f8fa54ee98c83434d6e75d3101fec1ea8b4d667791a92dd7e
|
@@ -227,8 +227,7 @@ module SimpleOracleJDBC
|
|
227
227
|
|
228
228
|
def retrieve_refcursor(obj, i)
|
229
229
|
rset = obj.get_object(i)
|
230
|
-
|
231
|
-
results = Sql.new(nil)
|
230
|
+
results = Sql.new(@connection)
|
232
231
|
results.result_set = rset
|
233
232
|
results
|
234
233
|
end
|
@@ -73,6 +73,9 @@ module SimpleOracleJDBC
|
|
73
73
|
def retrieve_out_value(conn, stmt, index)
|
74
74
|
set_descriptor(conn)
|
75
75
|
ora_array = stmt.get_array(index)
|
76
|
+
if ora_array.nil?
|
77
|
+
return nil
|
78
|
+
end
|
76
79
|
base_type = ora_array.get_base_type_name
|
77
80
|
if base_type == 'VARCHAR' or base_type == 'CHAR'
|
78
81
|
retrieve_as_string(ora_array)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simpleOracleJDBC
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen O'Donnell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A lightweight wrapper around the JDBC interface to make it easier to
|
14
14
|
make SQL and stored procedure calls.
|
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
58
|
version: '0'
|
59
59
|
requirements: []
|
60
60
|
rubyforge_project:
|
61
|
-
rubygems_version: 2.
|
61
|
+
rubygems_version: 2.4.3
|
62
62
|
signing_key:
|
63
63
|
specification_version: 4
|
64
64
|
summary: A gem to simplify JDBC database access to Oracle when using JRuby
|