jdbc-helper 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jdbc-helper/connection.rb +1 -1
- metadata +159 -138
@@ -246,7 +246,7 @@ class Connection
|
|
246
246
|
rescue Transaction::Rollback
|
247
247
|
status = :rolledback
|
248
248
|
ensure
|
249
|
-
@conn.rollback if status == :unknown
|
249
|
+
@conn.rollback if status == :unknown && @conn.get_auto_commit == false
|
250
250
|
@conn.set_auto_commit ac
|
251
251
|
end
|
252
252
|
status == :committed
|
metadata
CHANGED
@@ -1,153 +1,174 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: jdbc-helper
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 0.7.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.7.3
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
|
9
|
-
autorequire:
|
7
|
+
authors:
|
8
|
+
- Junegunn Choi
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
12
|
+
date: 2012-05-11 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: insensitive_hash
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ~>
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 0.2.3
|
21
|
+
none: false
|
22
|
+
requirement: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.2.3
|
27
|
+
none: false
|
28
|
+
prerelease: false
|
29
|
+
type: :runtime
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: bundler
|
32
|
+
version_requirements: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - ~>
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 1.0.0
|
37
|
+
none: false
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ~>
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 1.0.0
|
43
|
+
none: false
|
44
|
+
prerelease: false
|
45
|
+
type: :development
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: jeweler
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - ~>
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 1.5.2
|
53
|
+
none: false
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ~>
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: 1.5.2
|
59
|
+
none: false
|
60
|
+
prerelease: false
|
61
|
+
type: :development
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rcov
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.9'
|
69
|
+
none: false
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ~>
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0.9'
|
75
|
+
none: false
|
76
|
+
prerelease: false
|
77
|
+
type: :development
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: test-unit
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ! '>='
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 2.3.0
|
85
|
+
none: false
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ! '>='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 2.3.0
|
91
|
+
none: false
|
92
|
+
prerelease: false
|
93
|
+
type: :development
|
70
94
|
description: A JDBC helper for JRuby/Database developers.
|
71
95
|
email: junegunn.c@gmail.com
|
72
96
|
executables: []
|
73
|
-
|
74
97
|
extensions: []
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
- test/testrb
|
98
|
+
extra_rdoc_files:
|
99
|
+
- LICENSE.txt
|
100
|
+
- README.markdown
|
101
|
+
files:
|
102
|
+
- lib/jdbc-helper.rb
|
103
|
+
- lib/jdbc-helper/connection.rb
|
104
|
+
- lib/jdbc-helper/connection/callable_statement.rb
|
105
|
+
- lib/jdbc-helper/connection/parameterized_statement.rb
|
106
|
+
- lib/jdbc-helper/connection/prepared_statement.rb
|
107
|
+
- lib/jdbc-helper/connection/result_set_enumerator.rb
|
108
|
+
- lib/jdbc-helper/connection/row.rb
|
109
|
+
- lib/jdbc-helper/connection/statement_pool.rb
|
110
|
+
- lib/jdbc-helper/connection/type_map.rb
|
111
|
+
- lib/jdbc-helper/connector.rb
|
112
|
+
- lib/jdbc-helper/connector/mysql_connector.rb
|
113
|
+
- lib/jdbc-helper/connector/oracle_connector.rb
|
114
|
+
- lib/jdbc-helper/connector/postgres_connector.rb
|
115
|
+
- lib/jdbc-helper/connector/sql_server_connector.rb
|
116
|
+
- lib/jdbc-helper/constants.rb
|
117
|
+
- lib/jdbc-helper/sql/expression.rb
|
118
|
+
- lib/jdbc-helper/sql/sql.rb
|
119
|
+
- lib/jdbc-helper/sql/sql_prepared.rb
|
120
|
+
- lib/jdbc-helper/wrapper/function_wrapper.rb
|
121
|
+
- lib/jdbc-helper/wrapper/object_wrapper.rb
|
122
|
+
- lib/jdbc-helper/wrapper/procedure_wrapper.rb
|
123
|
+
- lib/jdbc-helper/wrapper/sequence_wrapper.rb
|
124
|
+
- lib/jdbc-helper/wrapper/table_wrapper.rb
|
125
|
+
- LICENSE.txt
|
126
|
+
- README.markdown
|
127
|
+
- test/database.yml
|
128
|
+
- test/database.yml.local
|
129
|
+
- test/helper.rb
|
130
|
+
- test/performance.rb
|
131
|
+
- test/test_connection.rb
|
132
|
+
- test/test_connectors.rb
|
133
|
+
- test/test_object_wrapper.rb
|
134
|
+
- test/test_sql.rb
|
135
|
+
- test/testrb
|
114
136
|
homepage: http://github.com/junegunn/jdbc-helper
|
115
|
-
licenses:
|
116
|
-
|
117
|
-
post_install_message:
|
137
|
+
licenses:
|
138
|
+
- MIT
|
139
|
+
post_install_message:
|
118
140
|
rdoc_options: []
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ! '>='
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
segments:
|
148
|
+
- 0
|
149
|
+
hash: 2
|
150
|
+
version: '0'
|
123
151
|
none: false
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
- 0
|
130
|
-
version: "0"
|
131
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
154
|
+
- - ! '>='
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '0'
|
132
157
|
none: false
|
133
|
-
requirements:
|
134
|
-
- - ">="
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version: "0"
|
137
158
|
requirements: []
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
signing_key:
|
159
|
+
rubyforge_project:
|
160
|
+
rubygems_version: 1.8.21
|
161
|
+
signing_key:
|
142
162
|
specification_version: 3
|
143
163
|
summary: A JDBC helper for JRuby/Database developers.
|
144
|
-
test_files:
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
164
|
+
test_files:
|
165
|
+
- test/database.yml
|
166
|
+
- test/database.yml.local
|
167
|
+
- test/helper.rb
|
168
|
+
- test/performance.rb
|
169
|
+
- test/test_connection.rb
|
170
|
+
- test/test_connectors.rb
|
171
|
+
- test/test_object_wrapper.rb
|
172
|
+
- test/test_sql.rb
|
173
|
+
- test/testrb
|
174
|
+
...
|