activerecord-jdbc-adapter 1.3.13 → 1.3.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module ArJdbc
2
- VERSION = "1.3.13"
2
+ VERSION = "1.3.14"
3
3
  # @deprecated
4
4
  module Version
5
5
  # @private 1.2.x compatibility
@@ -17,27 +17,6 @@ task 'test_postgresql_with_hint' do
17
17
  end
18
18
  end
19
19
 
20
- def set_test_task_compat_version(task)
21
- task.ruby_opts << '-v' if RUBY_VERSION =~ /1\.8/
22
- if defined?(JRUBY_VERSION)
23
- task.ruby_opts << "--#{RUBY_VERSION[/^(\d+\.\d+)/, 1]}"
24
- end
25
- end
26
-
27
- def set_task_description(task, desc)
28
- unless task.is_a?(Rake::Task)
29
- task = task.name if task.is_a?(Rake::TestTask)
30
- task = Rake::Task[task]
31
- end
32
- # reset the description set-up by TestTask :
33
- if task.instance_variable_defined? :@full_comment
34
- task.instance_variable_set(:@full_comment, nil)
35
- else
36
- task.instance_variable_get(:@comments).clear
37
- end
38
- task.add_description(desc)
39
- end
40
-
41
20
  task 'test_appraisal_hint' do
42
21
  next if File.exists?('.disable-appraisal-hint')
43
22
  unless (ENV['BUNDLE_GEMFILE'] || '') =~ /gemfiles\/.*?\.gemfile/
@@ -72,11 +51,22 @@ def test_task_for(adapter, options = {})
72
51
  test_task.libs.push *FileList["activerecord-jdbc#{adapter}*/lib"]
73
52
  end
74
53
  test_task.libs << 'test'
75
- set_test_task_compat_version test_task
54
+ test_task.ruby_opts << '-v' if RUBY_VERSION.index('1.8') == 0
55
+ # set current Ruby compatibility version on JRuby <= 1.7 :
56
+ if defined?(JRUBY_VERSION) && JRUBY_VERSION.index('1.7') == 0
57
+ test_task.ruby_opts << "--#{RUBY_VERSION[/^(\d+\.\d+)/, 1]}"
58
+ end
76
59
  test_task.verbose = true if $VERBOSE
77
60
  yield(test_task) if block_given?
78
61
  end
79
- set_task_description name, desc
62
+ task = Rake::Task[name]
63
+ # reset the description set-up by Rake::TestTask :
64
+ if task.instance_variable_defined? :@full_comment
65
+ task.instance_variable_set(:@full_comment, nil)
66
+ else
67
+ task.instance_variable_get(:@comments).clear
68
+ end
69
+ task.add_description(desc)
80
70
  test_task
81
71
  end
82
72
 
@@ -53,6 +53,7 @@ import java.sql.Timestamp;
53
53
  import java.sql.Types;
54
54
  import java.util.ArrayList;
55
55
  import java.util.Calendar;
56
+ import java.util.Collection;
56
57
  import java.util.LinkedHashMap;
57
58
  import java.util.List;
58
59
  import java.util.Map;
@@ -1104,9 +1105,9 @@ public class RubyJdbcConnection extends RubyObject {
1104
1105
  @JRubyMethod(name = {"columns", "columns_internal"}, required = 1, optional = 2)
1105
1106
  public IRubyObject columns_internal(final ThreadContext context, final IRubyObject[] args)
1106
1107
  throws SQLException {
1107
- return withConnection(context, new Callable<IRubyObject>() {
1108
- public IRubyObject call(final Connection connection) throws SQLException {
1109
- ResultSet columns = null, primaryKeys = null;
1108
+ return withConnection(context, new Callable<RubyArray>() {
1109
+ public RubyArray call(final Connection connection) throws SQLException {
1110
+ ResultSet columns = null;
1110
1111
  try {
1111
1112
  final String tableName = args[0].toString();
1112
1113
  // optionals (NOTE: catalog argumnet was never used before 1.3.0) :
@@ -1127,12 +1128,10 @@ public class RubyJdbcConnection extends RubyObject {
1127
1128
 
1128
1129
  final DatabaseMetaData metaData = connection.getMetaData();
1129
1130
  columns = metaData.getColumns(components.catalog, components.schema, components.name, null);
1130
- primaryKeys = metaData.getPrimaryKeys(components.catalog, components.schema, components.name);
1131
- return unmarshalColumns(context, metaData, columns, primaryKeys);
1131
+ return unmarshalColumns(context, metaData, components, columns);
1132
1132
  }
1133
1133
  finally {
1134
1134
  close(columns);
1135
- close(primaryKeys);
1136
1135
  }
1137
1136
  }
1138
1137
  });
@@ -1484,8 +1483,8 @@ public class RubyJdbcConnection extends RubyObject {
1484
1483
  return callMethod(context, "adapter");
1485
1484
  }
1486
1485
 
1487
- protected final IRubyObject getJdbcColumnClass(final ThreadContext context) {
1488
- return getAdapter(context).callMethod(context, "jdbc_column_class");
1486
+ protected final RubyClass getJdbcColumnClass(final ThreadContext context) {
1487
+ return (RubyClass) getAdapter(context).callMethod(context, "jdbc_column_class");
1489
1488
  }
1490
1489
 
1491
1490
  protected JdbcConnectionFactory getConnectionFactory() throws RaiseException {
@@ -1951,7 +1950,7 @@ public class RubyJdbcConnection extends RubyObject {
1951
1950
  }
1952
1951
  return array;
1953
1952
  }
1954
- finally { value.free(); }
1953
+ finally { if ( value != null ) value.free(); }
1955
1954
  }
1956
1955
 
1957
1956
  protected IRubyObject xmlToRuby(final ThreadContext context,
@@ -1959,9 +1958,11 @@ public class RubyJdbcConnection extends RubyObject {
1959
1958
  throws SQLException {
1960
1959
  final SQLXML xml = resultSet.getSQLXML(column);
1961
1960
  try {
1961
+ if ( xml == null || resultSet.wasNull() ) return runtime.getNil();
1962
+
1962
1963
  return RubyString.newUnicodeString(runtime, xml.getString());
1963
1964
  }
1964
- finally { xml.free(); }
1965
+ finally { if ( xml != null ) xml.free(); }
1965
1966
  }
1966
1967
 
1967
1968
  protected void setStatementParameters(final ThreadContext context,
@@ -2922,23 +2923,24 @@ public class RubyJdbcConnection extends RubyObject {
2922
2923
  return defaultValue == null ? runtime.getNil() : RubyString.newUnicodeString(runtime, defaultValue);
2923
2924
  }
2924
2925
 
2925
- private IRubyObject unmarshalColumns(final ThreadContext context,
2926
- final DatabaseMetaData metaData, final ResultSet results, final ResultSet primaryKeys)
2926
+ private RubyArray unmarshalColumns(final ThreadContext context,
2927
+ final DatabaseMetaData metaData, final TableName components, final ResultSet results)
2927
2928
  throws SQLException {
2928
2929
 
2929
2930
  final Ruby runtime = context.getRuntime();
2930
- final IRubyObject jdbcColumn = getJdbcColumnClass(context);
2931
+ final RubyClass JdbcColumn = getJdbcColumnClass(context);
2931
2932
 
2932
- final List<String> primaryKeyNames = new ArrayList<String>(4);
2933
- while ( primaryKeys.next() ) {
2934
- primaryKeyNames.add( primaryKeys.getString(COLUMN_NAME) );
2935
- }
2933
+ // NOTE: primary/primary= methods were removed from Column in AR 4.2
2934
+ final boolean setPrimary = JdbcColumn.isMethodBound("primary=", false);
2935
+
2936
+ final Collection<String> primaryKeyNames =
2937
+ setPrimary ? getPrimaryKeyNames(metaData, components) : null;
2936
2938
 
2937
2939
  final RubyArray columns = runtime.newArray();
2938
2940
  final IRubyObject config = getConfig(context);
2939
2941
  while ( results.next() ) {
2940
2942
  final String colName = results.getString(COLUMN_NAME);
2941
- IRubyObject column = jdbcColumn.callMethod(context, "new",
2943
+ IRubyObject column = JdbcColumn.callMethod(context, "new",
2942
2944
  new IRubyObject[] {
2943
2945
  config,
2944
2946
  RubyString.newUnicodeString( runtime, caseConvertIdentifierForRails(metaData, colName) ),
@@ -2948,11 +2950,28 @@ public class RubyJdbcConnection extends RubyObject {
2948
2950
  });
2949
2951
  columns.append(column);
2950
2952
 
2951
- if ( primaryKeyNames.contains(colName) ) {
2953
+ if ( primaryKeyNames != null && primaryKeyNames.contains(colName) ) {
2952
2954
  column.callMethod(context, "primary=", runtime.getTrue());
2953
2955
  }
2954
2956
  }
2955
2957
  return columns;
2958
+
2959
+ }
2960
+
2961
+ private static Collection<String> getPrimaryKeyNames(final DatabaseMetaData metaData,
2962
+ final TableName components) throws SQLException {
2963
+ ResultSet primaryKeys = null;
2964
+ try {
2965
+ primaryKeys = metaData.getPrimaryKeys(components.catalog, components.schema, components.name);
2966
+ final List<String> primaryKeyNames = new ArrayList<String>(4);
2967
+ while ( primaryKeys.next() ) {
2968
+ primaryKeyNames.add( primaryKeys.getString(COLUMN_NAME) );
2969
+ }
2970
+ return primaryKeyNames;
2971
+ }
2972
+ finally {
2973
+ close(primaryKeys);
2974
+ }
2956
2975
  }
2957
2976
 
2958
2977
  protected IRubyObject mapGeneratedKeys(
metadata CHANGED
@@ -1,252 +1,254 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: activerecord-jdbc-adapter
3
- version: !ruby/object:Gem::Version
4
- version: 1.3.13
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 1.3.14
5
6
  platform: ruby
6
- authors:
7
- - Nick Sieger, Ola Bini, Karol Bucek and JRuby contributors
8
- autorequire:
7
+ authors:
8
+ - Nick Sieger, Ola Bini, Karol Bucek and JRuby contributors
9
+ autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-11-21 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: activerecord
15
- version_requirements: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '>='
18
- - !ruby/object:Gem::Version
19
- version: '2.2'
20
- requirement: !ruby/object:Gem::Requirement
21
- requirements:
22
- - - '>='
23
- - !ruby/object:Gem::Version
24
- version: '2.2'
25
- prerelease: false
26
- type: :runtime
27
- description: 'AR-JDBC is a database adapter for Rails'' ActiveRecord component designed
28
- to be used with JRuby built upon Java''s JDBC API for database access. Provides
29
- (ActiveRecord) built-in adapters: MySQL, PostgreSQL and SQLite3 as well as adapters
30
- for popular databases such as Oracle, SQLServer, DB2, FireBird and even Java (embed)
31
- databases: Derby, HSQLDB and H2. It allows to connect to virtually any JDBC-compliant
32
- database with your JRuby on Rails application.'
33
- email:
34
- - nick@nicksieger.com
35
- - ola.bini@gmail.com
36
- - self@kares.org
12
+
13
+ date: 2015-01-28 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activerecord
17
+ version_requirements: &id001 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: "2.2"
23
+ requirement: *id001
24
+ prerelease: false
25
+ type: :runtime
26
+ description: "AR-JDBC is a database adapter for Rails' ActiveRecord component designed to be used with JRuby built upon Java's JDBC API for database access. Provides (ActiveRecord) built-in adapters: MySQL, PostgreSQL and SQLite3 as well as adapters for popular databases such as Oracle, SQLServer, DB2, FireBird and even Java (embed) databases: Derby, HSQLDB and H2. It allows to connect to virtually any JDBC-compliant database with your JRuby on Rails application."
27
+ email:
28
+ - nick@nicksieger.com
29
+ - ola.bini@gmail.com
30
+ - self@kares.org
37
31
  executables: []
32
+
38
33
  extensions: []
34
+
39
35
  extra_rdoc_files: []
40
- files:
41
- - .gitignore
42
- - .travis.yml
43
- - .yardopts
44
- - Appraisals
45
- - CONTRIBUTING.md
46
- - Gemfile
47
- - History.md
48
- - LICENSE.txt
49
- - README.md
50
- - RUNNING_TESTS.md
51
- - Rakefile
52
- - Rakefile.jdbc
53
- - activerecord-jdbc-adapter.gemspec
54
- - lib/active_record/connection_adapters/as400_adapter.rb
55
- - lib/active_record/connection_adapters/db2_adapter.rb
56
- - lib/active_record/connection_adapters/derby_adapter.rb
57
- - lib/active_record/connection_adapters/firebird_adapter.rb
58
- - lib/active_record/connection_adapters/h2_adapter.rb
59
- - lib/active_record/connection_adapters/hsqldb_adapter.rb
60
- - lib/active_record/connection_adapters/informix_adapter.rb
61
- - lib/active_record/connection_adapters/jdbc_adapter.rb
62
- - lib/active_record/connection_adapters/jndi_adapter.rb
63
- - lib/active_record/connection_adapters/mariadb_adapter.rb
64
- - lib/active_record/connection_adapters/mssql_adapter.rb
65
- - lib/active_record/connection_adapters/mysql2_adapter.rb
66
- - lib/active_record/connection_adapters/mysql_adapter.rb
67
- - lib/active_record/connection_adapters/oracle_adapter.rb
68
- - lib/active_record/connection_adapters/postgresql_adapter.rb
69
- - lib/active_record/connection_adapters/sqlite3_adapter.rb
70
- - lib/active_record/connection_adapters/sqlserver_adapter.rb
71
- - lib/activerecord-jdbc-adapter.rb
72
- - lib/arel/visitors/compat.rb
73
- - lib/arel/visitors/db2.rb
74
- - lib/arel/visitors/derby.rb
75
- - lib/arel/visitors/firebird.rb
76
- - lib/arel/visitors/h2.rb
77
- - lib/arel/visitors/hsqldb.rb
78
- - lib/arel/visitors/sql_server.rb
79
- - lib/arjdbc.rb
80
- - lib/arjdbc/db2.rb
81
- - lib/arjdbc/db2/adapter.rb
82
- - lib/arjdbc/db2/as400.rb
83
- - lib/arjdbc/db2/column.rb
84
- - lib/arjdbc/db2/connection_methods.rb
85
- - lib/arjdbc/derby.rb
86
- - lib/arjdbc/derby/active_record_patch.rb
87
- - lib/arjdbc/derby/adapter.rb
88
- - lib/arjdbc/derby/connection_methods.rb
89
- - lib/arjdbc/derby/schema_creation.rb
90
- - lib/arjdbc/discover.rb
91
- - lib/arjdbc/firebird.rb
92
- - lib/arjdbc/firebird/adapter.rb
93
- - lib/arjdbc/firebird/connection_methods.rb
94
- - lib/arjdbc/h2.rb
95
- - lib/arjdbc/h2/adapter.rb
96
- - lib/arjdbc/h2/connection_methods.rb
97
- - lib/arjdbc/hsqldb.rb
98
- - lib/arjdbc/hsqldb/adapter.rb
99
- - lib/arjdbc/hsqldb/connection_methods.rb
100
- - lib/arjdbc/hsqldb/explain_support.rb
101
- - lib/arjdbc/hsqldb/schema_creation.rb
102
- - lib/arjdbc/informix.rb
103
- - lib/arjdbc/informix/adapter.rb
104
- - lib/arjdbc/informix/connection_methods.rb
105
- - lib/arjdbc/jdbc.rb
106
- - lib/arjdbc/jdbc/adapter.rb
107
- - lib/arjdbc/jdbc/adapter_java.jar
108
- - lib/arjdbc/jdbc/adapter_require.rb
109
- - lib/arjdbc/jdbc/arel_support.rb
110
- - lib/arjdbc/jdbc/base_ext.rb
111
- - lib/arjdbc/jdbc/callbacks.rb
112
- - lib/arjdbc/jdbc/column.rb
113
- - lib/arjdbc/jdbc/connection.rb
114
- - lib/arjdbc/jdbc/connection_methods.rb
115
- - lib/arjdbc/jdbc/driver.rb
116
- - lib/arjdbc/jdbc/extension.rb
117
- - lib/arjdbc/jdbc/java.rb
118
- - lib/arjdbc/jdbc/jdbc.rake
119
- - lib/arjdbc/jdbc/quoted_primary_key.rb
120
- - lib/arjdbc/jdbc/railtie.rb
121
- - lib/arjdbc/jdbc/rake_tasks.rb
122
- - lib/arjdbc/jdbc/serialized_attributes_helper.rb
123
- - lib/arjdbc/jdbc/type_cast.rb
124
- - lib/arjdbc/jdbc/type_converter.rb
125
- - lib/arjdbc/mimer.rb
126
- - lib/arjdbc/mimer/adapter.rb
127
- - lib/arjdbc/mssql.rb
128
- - lib/arjdbc/mssql/adapter.rb
129
- - lib/arjdbc/mssql/column.rb
130
- - lib/arjdbc/mssql/connection_methods.rb
131
- - lib/arjdbc/mssql/explain_support.rb
132
- - lib/arjdbc/mssql/limit_helpers.rb
133
- - lib/arjdbc/mssql/lock_methods.rb
134
- - lib/arjdbc/mssql/utils.rb
135
- - lib/arjdbc/mysql.rb
136
- - lib/arjdbc/mysql/adapter.rb
137
- - lib/arjdbc/mysql/bulk_change_table.rb
138
- - lib/arjdbc/mysql/column.rb
139
- - lib/arjdbc/mysql/connection_methods.rb
140
- - lib/arjdbc/mysql/explain_support.rb
141
- - lib/arjdbc/mysql/schema_creation.rb
142
- - lib/arjdbc/oracle.rb
143
- - lib/arjdbc/oracle/adapter.rb
144
- - lib/arjdbc/oracle/column.rb
145
- - lib/arjdbc/oracle/connection_methods.rb
146
- - lib/arjdbc/postgresql.rb
147
- - lib/arjdbc/postgresql/adapter.rb
148
- - lib/arjdbc/postgresql/base/array_parser.rb
149
- - lib/arjdbc/postgresql/base/oid.rb
150
- - lib/arjdbc/postgresql/column.rb
151
- - lib/arjdbc/postgresql/connection_methods.rb
152
- - lib/arjdbc/postgresql/explain_support.rb
153
- - lib/arjdbc/postgresql/oid_types.rb
154
- - lib/arjdbc/postgresql/schema_creation.rb
155
- - lib/arjdbc/railtie.rb
156
- - lib/arjdbc/sqlite3.rb
157
- - lib/arjdbc/sqlite3/adapter.rb
158
- - lib/arjdbc/sqlite3/connection_methods.rb
159
- - lib/arjdbc/sqlite3/explain_support.rb
160
- - lib/arjdbc/sybase.rb
161
- - lib/arjdbc/sybase/adapter.rb
162
- - lib/arjdbc/tasks.rb
163
- - lib/arjdbc/tasks/database_tasks.rb
164
- - lib/arjdbc/tasks/databases.rake
165
- - lib/arjdbc/tasks/databases3.rake
166
- - lib/arjdbc/tasks/databases4.rake
167
- - lib/arjdbc/tasks/db2_database_tasks.rb
168
- - lib/arjdbc/tasks/derby_database_tasks.rb
169
- - lib/arjdbc/tasks/h2_database_tasks.rb
170
- - lib/arjdbc/tasks/hsqldb_database_tasks.rb
171
- - lib/arjdbc/tasks/jdbc_database_tasks.rb
172
- - lib/arjdbc/tasks/mssql_database_tasks.rb
173
- - lib/arjdbc/tasks/oracle/enhanced_structure_dump.rb
174
- - lib/arjdbc/tasks/oracle_database_tasks.rb
175
- - lib/arjdbc/util/quoted_cache.rb
176
- - lib/arjdbc/util/serialized_attributes.rb
177
- - lib/arjdbc/util/table_copier.rb
178
- - lib/arjdbc/version.rb
179
- - lib/generators/jdbc/USAGE
180
- - lib/generators/jdbc/jdbc_generator.rb
181
- - lib/jdbc_adapter.rb
182
- - lib/jdbc_adapter/rake_tasks.rb
183
- - lib/jdbc_adapter/version.rb
184
- - pom.xml
185
- - rails_generators/jdbc_generator.rb
186
- - rails_generators/templates/config/initializers/jdbc.rb
187
- - rails_generators/templates/lib/tasks/jdbc.rake
188
- - rakelib/01-tomcat.rake
189
- - rakelib/02-test.rake
190
- - rakelib/bundler_ext.rb
191
- - rakelib/compile.rake
192
- - rakelib/db.rake
193
- - rakelib/rails.rake
194
- - src/java/arjdbc/ArJdbcModule.java
195
- - src/java/arjdbc/db2/DB2Module.java
196
- - src/java/arjdbc/db2/DB2RubyJdbcConnection.java
197
- - src/java/arjdbc/derby/DerbyModule.java
198
- - src/java/arjdbc/derby/DerbyRubyJdbcConnection.java
199
- - src/java/arjdbc/h2/H2Module.java
200
- - src/java/arjdbc/h2/H2RubyJdbcConnection.java
201
- - src/java/arjdbc/hsqldb/HSQLDBModule.java
202
- - src/java/arjdbc/informix/InformixRubyJdbcConnection.java
203
- - src/java/arjdbc/jdbc/AdapterJavaService.java
204
- - src/java/arjdbc/jdbc/Callable.java
205
- - src/java/arjdbc/jdbc/JdbcConnectionFactory.java
206
- - src/java/arjdbc/jdbc/RubyJdbcConnection.java
207
- - src/java/arjdbc/jdbc/SQLBlock.java
208
- - src/java/arjdbc/mssql/MSSQLModule.java
209
- - src/java/arjdbc/mssql/MSSQLRubyJdbcConnection.java
210
- - src/java/arjdbc/mssql/MssqlRubyJdbcConnection.java
211
- - src/java/arjdbc/mysql/MySQLModule.java
212
- - src/java/arjdbc/mysql/MySQLRubyJdbcConnection.java
213
- - src/java/arjdbc/oracle/OracleModule.java
214
- - src/java/arjdbc/oracle/OracleRubyJdbcConnection.java
215
- - src/java/arjdbc/postgresql/PostgreSQLRubyJdbcConnection.java
216
- - src/java/arjdbc/postgresql/PostgresqlRubyJdbcConnection.java
217
- - src/java/arjdbc/sqlite3/SQLite3Module.java
218
- - src/java/arjdbc/sqlite3/SQLite3RubyJdbcConnection.java
219
- - src/java/arjdbc/sqlite3/Sqlite3RubyJdbcConnection.java
220
- - src/java/arjdbc/util/CallResultSet.java
221
- - src/java/arjdbc/util/QuotingUtils.java
36
+
37
+ files:
38
+ - .gitignore
39
+ - .travis.yml
40
+ - .yardopts
41
+ - Appraisals
42
+ - CONTRIBUTING.md
43
+ - Gemfile
44
+ - History.md
45
+ - LICENSE.txt
46
+ - README.md
47
+ - RUNNING_TESTS.md
48
+ - Rakefile
49
+ - Rakefile.jdbc
50
+ - activerecord-jdbc-adapter.gemspec
51
+ - lib/active_record/connection_adapters/as400_adapter.rb
52
+ - lib/active_record/connection_adapters/db2_adapter.rb
53
+ - lib/active_record/connection_adapters/derby_adapter.rb
54
+ - lib/active_record/connection_adapters/firebird_adapter.rb
55
+ - lib/active_record/connection_adapters/h2_adapter.rb
56
+ - lib/active_record/connection_adapters/hsqldb_adapter.rb
57
+ - lib/active_record/connection_adapters/informix_adapter.rb
58
+ - lib/active_record/connection_adapters/jdbc_adapter.rb
59
+ - lib/active_record/connection_adapters/jndi_adapter.rb
60
+ - lib/active_record/connection_adapters/mariadb_adapter.rb
61
+ - lib/active_record/connection_adapters/mssql_adapter.rb
62
+ - lib/active_record/connection_adapters/mysql2_adapter.rb
63
+ - lib/active_record/connection_adapters/mysql_adapter.rb
64
+ - lib/active_record/connection_adapters/oracle_adapter.rb
65
+ - lib/active_record/connection_adapters/postgresql_adapter.rb
66
+ - lib/active_record/connection_adapters/sqlite3_adapter.rb
67
+ - lib/active_record/connection_adapters/sqlserver_adapter.rb
68
+ - lib/activerecord-jdbc-adapter.rb
69
+ - lib/arel/visitors/compat.rb
70
+ - lib/arel/visitors/db2.rb
71
+ - lib/arel/visitors/derby.rb
72
+ - lib/arel/visitors/firebird.rb
73
+ - lib/arel/visitors/h2.rb
74
+ - lib/arel/visitors/hsqldb.rb
75
+ - lib/arel/visitors/sql_server.rb
76
+ - lib/arjdbc.rb
77
+ - lib/arjdbc/db2.rb
78
+ - lib/arjdbc/db2/adapter.rb
79
+ - lib/arjdbc/db2/as400.rb
80
+ - lib/arjdbc/db2/column.rb
81
+ - lib/arjdbc/db2/connection_methods.rb
82
+ - lib/arjdbc/derby.rb
83
+ - lib/arjdbc/derby/active_record_patch.rb
84
+ - lib/arjdbc/derby/adapter.rb
85
+ - lib/arjdbc/derby/connection_methods.rb
86
+ - lib/arjdbc/derby/schema_creation.rb
87
+ - lib/arjdbc/discover.rb
88
+ - lib/arjdbc/firebird.rb
89
+ - lib/arjdbc/firebird/adapter.rb
90
+ - lib/arjdbc/firebird/connection_methods.rb
91
+ - lib/arjdbc/h2.rb
92
+ - lib/arjdbc/h2/adapter.rb
93
+ - lib/arjdbc/h2/connection_methods.rb
94
+ - lib/arjdbc/hsqldb.rb
95
+ - lib/arjdbc/hsqldb/adapter.rb
96
+ - lib/arjdbc/hsqldb/connection_methods.rb
97
+ - lib/arjdbc/hsqldb/explain_support.rb
98
+ - lib/arjdbc/hsqldb/schema_creation.rb
99
+ - lib/arjdbc/informix.rb
100
+ - lib/arjdbc/informix/adapter.rb
101
+ - lib/arjdbc/informix/connection_methods.rb
102
+ - lib/arjdbc/jdbc.rb
103
+ - lib/arjdbc/jdbc/adapter.rb
104
+ - lib/arjdbc/jdbc/adapter_java.jar
105
+ - lib/arjdbc/jdbc/adapter_require.rb
106
+ - lib/arjdbc/jdbc/arel_support.rb
107
+ - lib/arjdbc/jdbc/base_ext.rb
108
+ - lib/arjdbc/jdbc/callbacks.rb
109
+ - lib/arjdbc/jdbc/column.rb
110
+ - lib/arjdbc/jdbc/connection.rb
111
+ - lib/arjdbc/jdbc/connection_methods.rb
112
+ - lib/arjdbc/jdbc/driver.rb
113
+ - lib/arjdbc/jdbc/extension.rb
114
+ - lib/arjdbc/jdbc/java.rb
115
+ - lib/arjdbc/jdbc/jdbc.rake
116
+ - lib/arjdbc/jdbc/quoted_primary_key.rb
117
+ - lib/arjdbc/jdbc/railtie.rb
118
+ - lib/arjdbc/jdbc/rake_tasks.rb
119
+ - lib/arjdbc/jdbc/serialized_attributes_helper.rb
120
+ - lib/arjdbc/jdbc/type_cast.rb
121
+ - lib/arjdbc/jdbc/type_converter.rb
122
+ - lib/arjdbc/mimer.rb
123
+ - lib/arjdbc/mimer/adapter.rb
124
+ - lib/arjdbc/mssql.rb
125
+ - lib/arjdbc/mssql/adapter.rb
126
+ - lib/arjdbc/mssql/column.rb
127
+ - lib/arjdbc/mssql/connection_methods.rb
128
+ - lib/arjdbc/mssql/explain_support.rb
129
+ - lib/arjdbc/mssql/limit_helpers.rb
130
+ - lib/arjdbc/mssql/lock_methods.rb
131
+ - lib/arjdbc/mssql/utils.rb
132
+ - lib/arjdbc/mysql.rb
133
+ - lib/arjdbc/mysql/adapter.rb
134
+ - lib/arjdbc/mysql/bulk_change_table.rb
135
+ - lib/arjdbc/mysql/column.rb
136
+ - lib/arjdbc/mysql/connection_methods.rb
137
+ - lib/arjdbc/mysql/explain_support.rb
138
+ - lib/arjdbc/mysql/schema_creation.rb
139
+ - lib/arjdbc/oracle.rb
140
+ - lib/arjdbc/oracle/adapter.rb
141
+ - lib/arjdbc/oracle/column.rb
142
+ - lib/arjdbc/oracle/connection_methods.rb
143
+ - lib/arjdbc/postgresql.rb
144
+ - lib/arjdbc/postgresql/adapter.rb
145
+ - lib/arjdbc/postgresql/base/array_parser.rb
146
+ - lib/arjdbc/postgresql/base/oid.rb
147
+ - lib/arjdbc/postgresql/column.rb
148
+ - lib/arjdbc/postgresql/connection_methods.rb
149
+ - lib/arjdbc/postgresql/explain_support.rb
150
+ - lib/arjdbc/postgresql/oid_types.rb
151
+ - lib/arjdbc/postgresql/schema_creation.rb
152
+ - lib/arjdbc/railtie.rb
153
+ - lib/arjdbc/sqlite3.rb
154
+ - lib/arjdbc/sqlite3/adapter.rb
155
+ - lib/arjdbc/sqlite3/connection_methods.rb
156
+ - lib/arjdbc/sqlite3/explain_support.rb
157
+ - lib/arjdbc/sybase.rb
158
+ - lib/arjdbc/sybase/adapter.rb
159
+ - lib/arjdbc/tasks.rb
160
+ - lib/arjdbc/tasks/database_tasks.rb
161
+ - lib/arjdbc/tasks/databases.rake
162
+ - lib/arjdbc/tasks/databases3.rake
163
+ - lib/arjdbc/tasks/databases4.rake
164
+ - lib/arjdbc/tasks/db2_database_tasks.rb
165
+ - lib/arjdbc/tasks/derby_database_tasks.rb
166
+ - lib/arjdbc/tasks/h2_database_tasks.rb
167
+ - lib/arjdbc/tasks/hsqldb_database_tasks.rb
168
+ - lib/arjdbc/tasks/jdbc_database_tasks.rb
169
+ - lib/arjdbc/tasks/mssql_database_tasks.rb
170
+ - lib/arjdbc/tasks/oracle/enhanced_structure_dump.rb
171
+ - lib/arjdbc/tasks/oracle_database_tasks.rb
172
+ - lib/arjdbc/util/quoted_cache.rb
173
+ - lib/arjdbc/util/serialized_attributes.rb
174
+ - lib/arjdbc/util/table_copier.rb
175
+ - lib/arjdbc/version.rb
176
+ - lib/generators/jdbc/USAGE
177
+ - lib/generators/jdbc/jdbc_generator.rb
178
+ - lib/jdbc_adapter.rb
179
+ - lib/jdbc_adapter/rake_tasks.rb
180
+ - lib/jdbc_adapter/version.rb
181
+ - pom.xml
182
+ - rails_generators/jdbc_generator.rb
183
+ - rails_generators/templates/config/initializers/jdbc.rb
184
+ - rails_generators/templates/lib/tasks/jdbc.rake
185
+ - rakelib/01-tomcat.rake
186
+ - rakelib/02-test.rake
187
+ - rakelib/bundler_ext.rb
188
+ - rakelib/compile.rake
189
+ - rakelib/db.rake
190
+ - rakelib/rails.rake
191
+ - src/java/arjdbc/ArJdbcModule.java
192
+ - src/java/arjdbc/db2/DB2Module.java
193
+ - src/java/arjdbc/db2/DB2RubyJdbcConnection.java
194
+ - src/java/arjdbc/derby/DerbyModule.java
195
+ - src/java/arjdbc/derby/DerbyRubyJdbcConnection.java
196
+ - src/java/arjdbc/h2/H2Module.java
197
+ - src/java/arjdbc/h2/H2RubyJdbcConnection.java
198
+ - src/java/arjdbc/hsqldb/HSQLDBModule.java
199
+ - src/java/arjdbc/informix/InformixRubyJdbcConnection.java
200
+ - src/java/arjdbc/jdbc/AdapterJavaService.java
201
+ - src/java/arjdbc/jdbc/Callable.java
202
+ - src/java/arjdbc/jdbc/JdbcConnectionFactory.java
203
+ - src/java/arjdbc/jdbc/RubyJdbcConnection.java
204
+ - src/java/arjdbc/jdbc/SQLBlock.java
205
+ - src/java/arjdbc/mssql/MSSQLModule.java
206
+ - src/java/arjdbc/mssql/MSSQLRubyJdbcConnection.java
207
+ - src/java/arjdbc/mssql/MssqlRubyJdbcConnection.java
208
+ - src/java/arjdbc/mysql/MySQLModule.java
209
+ - src/java/arjdbc/mysql/MySQLRubyJdbcConnection.java
210
+ - src/java/arjdbc/oracle/OracleModule.java
211
+ - src/java/arjdbc/oracle/OracleRubyJdbcConnection.java
212
+ - src/java/arjdbc/postgresql/PostgreSQLRubyJdbcConnection.java
213
+ - src/java/arjdbc/postgresql/PostgresqlRubyJdbcConnection.java
214
+ - src/java/arjdbc/sqlite3/SQLite3Module.java
215
+ - src/java/arjdbc/sqlite3/SQLite3RubyJdbcConnection.java
216
+ - src/java/arjdbc/sqlite3/Sqlite3RubyJdbcConnection.java
217
+ - src/java/arjdbc/util/CallResultSet.java
218
+ - src/java/arjdbc/util/QuotingUtils.java
222
219
  homepage: https://github.com/jruby/activerecord-jdbc-adapter
223
- licenses:
224
- - BSD
225
- metadata: {}
226
- post_install_message:
227
- rdoc_options:
228
- - --main
229
- - README.md
230
- - -SHN
231
- - -f
232
- - darkfish
233
- require_paths:
234
- - lib
235
- required_ruby_version: !ruby/object:Gem::Requirement
236
- requirements:
237
- - - '>='
238
- - !ruby/object:Gem::Version
239
- version: '0'
240
- required_rubygems_version: !ruby/object:Gem::Requirement
241
- requirements:
242
- - - '>='
243
- - !ruby/object:Gem::Version
244
- version: '0'
220
+ licenses:
221
+ - BSD
222
+ post_install_message:
223
+ rdoc_options:
224
+ - --main
225
+ - README.md
226
+ - -SHN
227
+ - -f
228
+ - darkfish
229
+ require_paths:
230
+ - lib
231
+ required_ruby_version: !ruby/object:Gem::Requirement
232
+ none: false
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ hash: 2
237
+ segments:
238
+ - 0
239
+ version: "0"
240
+ required_rubygems_version: !ruby/object:Gem::Requirement
241
+ none: false
242
+ requirements:
243
+ - - ">="
244
+ - !ruby/object:Gem::Version
245
+ version: "0"
245
246
  requirements: []
247
+
246
248
  rubyforge_project: jruby-extras
247
- rubygems_version: 2.1.9
248
- signing_key:
249
- specification_version: 4
249
+ rubygems_version: 1.8.24
250
+ signing_key:
251
+ specification_version: 3
250
252
  summary: JDBC adapter for ActiveRecord, for use within JRuby on Rails.
251
253
  test_files: []
252
- has_rdoc:
254
+