activerecord-jdbc-adapter 0.9.3-java
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +248 -0
- data/LICENSE.txt +21 -0
- data/Manifest.txt +125 -0
- data/README.txt +218 -0
- data/Rakefile +10 -0
- data/lib/active_record/connection_adapters/cachedb_adapter.rb +1 -0
- data/lib/active_record/connection_adapters/derby_adapter.rb +13 -0
- data/lib/active_record/connection_adapters/h2_adapter.rb +13 -0
- data/lib/active_record/connection_adapters/hsqldb_adapter.rb +13 -0
- data/lib/active_record/connection_adapters/informix_adapter.rb +1 -0
- data/lib/active_record/connection_adapters/jdbc_adapter.rb +640 -0
- data/lib/active_record/connection_adapters/jdbc_adapter_spec.rb +26 -0
- data/lib/active_record/connection_adapters/jndi_adapter.rb +1 -0
- data/lib/active_record/connection_adapters/mysql_adapter.rb +13 -0
- data/lib/active_record/connection_adapters/oracle_adapter.rb +1 -0
- data/lib/active_record/connection_adapters/postgresql_adapter.rb +13 -0
- data/lib/active_record/connection_adapters/sqlite3_adapter.rb +13 -0
- data/lib/generators/jdbc/jdbc_generator.rb +9 -0
- data/lib/jdbc_adapter.rb +27 -0
- data/lib/jdbc_adapter/jdbc.rake +121 -0
- data/lib/jdbc_adapter/jdbc_adapter_internal.jar +0 -0
- data/lib/jdbc_adapter/jdbc_cachedb.rb +33 -0
- data/lib/jdbc_adapter/jdbc_db2.rb +203 -0
- data/lib/jdbc_adapter/jdbc_derby.rb +430 -0
- data/lib/jdbc_adapter/jdbc_firebird.rb +109 -0
- data/lib/jdbc_adapter/jdbc_hsqldb.rb +218 -0
- data/lib/jdbc_adapter/jdbc_informix.rb +147 -0
- data/lib/jdbc_adapter/jdbc_mimer.rb +141 -0
- data/lib/jdbc_adapter/jdbc_mssql.rb +337 -0
- data/lib/jdbc_adapter/jdbc_mysql.rb +236 -0
- data/lib/jdbc_adapter/jdbc_oracle.rb +377 -0
- data/lib/jdbc_adapter/jdbc_postgre.rb +498 -0
- data/lib/jdbc_adapter/jdbc_sqlite3.rb +384 -0
- data/lib/jdbc_adapter/jdbc_sybase.rb +50 -0
- data/lib/jdbc_adapter/missing_functionality_helper.rb +87 -0
- data/lib/jdbc_adapter/rake_tasks.rb +10 -0
- data/lib/jdbc_adapter/tsql_helper.rb +60 -0
- data/lib/jdbc_adapter/version.rb +5 -0
- data/lib/pg.rb +4 -0
- data/rails_generators/jdbc_generator.rb +15 -0
- data/rails_generators/templates/config/initializers/jdbc.rb +7 -0
- data/rails_generators/templates/lib/tasks/jdbc.rake +8 -0
- data/rakelib/compile.rake +23 -0
- data/rakelib/package.rake +90 -0
- data/rakelib/rails.rake +41 -0
- data/rakelib/test.rake +76 -0
- data/src/java/jdbc_adapter/JdbcAdapterInternalService.java +53 -0
- data/src/java/jdbc_adapter/JdbcConnectionFactory.java +36 -0
- data/src/java/jdbc_adapter/JdbcDerbySpec.java +293 -0
- data/src/java/jdbc_adapter/JdbcMySQLSpec.java +134 -0
- data/src/java/jdbc_adapter/MssqlRubyJdbcConnection.java +71 -0
- data/src/java/jdbc_adapter/PostgresRubyJdbcConnection.java +55 -0
- data/src/java/jdbc_adapter/RubyJdbcConnection.java +1162 -0
- data/src/java/jdbc_adapter/SQLBlock.java +27 -0
- data/src/java/jdbc_adapter/Sqlite3RubyJdbcConnection.java +41 -0
- data/test/abstract_db_create.rb +107 -0
- data/test/activerecord/connection_adapters/type_conversion_test.rb +31 -0
- data/test/activerecord/connections/native_jdbc_mysql/connection.rb +25 -0
- data/test/cachedb_simple_test.rb +6 -0
- data/test/db/cachedb.rb +9 -0
- data/test/db/db2.rb +9 -0
- data/test/db/derby.rb +14 -0
- data/test/db/h2.rb +11 -0
- data/test/db/hsqldb.rb +12 -0
- data/test/db/informix.rb +11 -0
- data/test/db/jdbc.rb +11 -0
- data/test/db/jndi_config.rb +30 -0
- data/test/db/logger.rb +3 -0
- data/test/db/mssql.rb +9 -0
- data/test/db/mysql.rb +10 -0
- data/test/db/oracle.rb +34 -0
- data/test/db/postgres.rb +9 -0
- data/test/db/sqlite3.rb +15 -0
- data/test/db2_simple_test.rb +10 -0
- data/test/derby_migration_test.rb +21 -0
- data/test/derby_multibyte_test.rb +12 -0
- data/test/derby_simple_test.rb +21 -0
- data/test/generic_jdbc_connection_test.rb +9 -0
- data/test/h2_simple_test.rb +6 -0
- data/test/has_many_through.rb +79 -0
- data/test/helper.rb +5 -0
- data/test/hsqldb_simple_test.rb +6 -0
- data/test/informix_simple_test.rb +48 -0
- data/test/jdbc_adapter/jdbc_db2_test.rb +26 -0
- data/test/jdbc_adapter/jdbc_sybase_test.rb +33 -0
- data/test/jdbc_common.rb +25 -0
- data/test/jndi_callbacks_test.rb +38 -0
- data/test/jndi_test.rb +35 -0
- data/test/manualTestDatabase.rb +191 -0
- data/test/minirunit.rb +109 -0
- data/test/minirunit/testConnect.rb +14 -0
- data/test/minirunit/testH2.rb +73 -0
- data/test/minirunit/testHsqldb.rb +73 -0
- data/test/minirunit/testLoadActiveRecord.rb +3 -0
- data/test/minirunit/testMysql.rb +83 -0
- data/test/minirunit/testRawSelect.rb +24 -0
- data/test/models/add_not_null_column_to_table.rb +12 -0
- data/test/models/auto_id.rb +18 -0
- data/test/models/data_types.rb +28 -0
- data/test/models/entry.rb +23 -0
- data/test/models/mixed_case.rb +20 -0
- data/test/models/reserved_word.rb +18 -0
- data/test/models/string_id.rb +18 -0
- data/test/models/validates_uniqueness_of_string.rb +19 -0
- data/test/mssql_simple_test.rb +6 -0
- data/test/mysql_db_create_test.rb +25 -0
- data/test/mysql_multibyte_test.rb +10 -0
- data/test/mysql_nonstandard_primary_key_test.rb +42 -0
- data/test/mysql_simple_test.rb +32 -0
- data/test/oracle_simple_test.rb +29 -0
- data/test/pick_rails_version.rb +3 -0
- data/test/postgres_db_create_test.rb +21 -0
- data/test/postgres_mixed_case_test.rb +19 -0
- data/test/postgres_nonseq_pkey_test.rb +40 -0
- data/test/postgres_reserved_test.rb +22 -0
- data/test/postgres_schema_search_path_test.rb +46 -0
- data/test/postgres_simple_test.rb +13 -0
- data/test/simple.rb +475 -0
- data/test/sqlite3_simple_test.rb +233 -0
- data/test/sybase_jtds_simple_test.rb +6 -0
- metadata +188 -0
@@ -0,0 +1,233 @@
|
|
1
|
+
require 'jdbc_common'
|
2
|
+
require 'db/sqlite3'
|
3
|
+
require 'models/data_types'
|
4
|
+
require 'models/validates_uniqueness_of_string'
|
5
|
+
|
6
|
+
class SQLite3SimpleTest < Test::Unit::TestCase
|
7
|
+
include SimpleTestMethods
|
8
|
+
include ActiveRecord3TestMethods
|
9
|
+
|
10
|
+
def test_recreate_database
|
11
|
+
assert @connection.tables.include?(Entry.table_name)
|
12
|
+
db = @connection.database_name
|
13
|
+
@connection.recreate_database(db)
|
14
|
+
assert (not @connection.tables.include? Entry.table_name)
|
15
|
+
self.setup # avoid teardown complaining
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_execute_insert
|
19
|
+
assert_equal 1, Entry.count
|
20
|
+
id = @connection.execute "INSERT INTO entries (title, content) VALUES ('Execute Insert', 'This now works with SQLite3')"
|
21
|
+
assert_equal Entry.last.id, id
|
22
|
+
assert_equal 2, Entry.count
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_execute_update
|
26
|
+
affected_rows = @connection.execute "UPDATE entries SET title = 'Execute Update' WHERE id = #{Entry.first.id}"
|
27
|
+
assert_equal 1, affected_rows
|
28
|
+
assert_equal 'Execute Update', Entry.first.title
|
29
|
+
end
|
30
|
+
|
31
|
+
def test_columns
|
32
|
+
cols = ActiveRecord::Base.connection.columns("entries")
|
33
|
+
assert cols.find {|col| col.name == "title"}
|
34
|
+
end
|
35
|
+
|
36
|
+
def test_remove_column
|
37
|
+
assert_nothing_raised do
|
38
|
+
ActiveRecord::Schema.define do
|
39
|
+
add_column "entries", "test_remove_column", :string
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
cols = ActiveRecord::Base.connection.columns("entries")
|
44
|
+
assert cols.find {|col| col.name == "test_remove_column"}
|
45
|
+
|
46
|
+
assert_nothing_raised do
|
47
|
+
ActiveRecord::Schema.define do
|
48
|
+
remove_column "entries", "test_remove_column"
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
cols = ActiveRecord::Base.connection.columns("entries")
|
53
|
+
assert !cols.find {|col| col.name == "test_remove_column"}
|
54
|
+
end
|
55
|
+
|
56
|
+
def test_rename_column
|
57
|
+
assert_nothing_raised do
|
58
|
+
ActiveRecord::Schema.define do
|
59
|
+
rename_column "entries", "title", "name"
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
cols = ActiveRecord::Base.connection.columns("entries")
|
64
|
+
assert cols.find {|col| col.name == "name"}
|
65
|
+
assert !cols.find {|col| col.name == "title"}
|
66
|
+
|
67
|
+
assert_nothing_raised do
|
68
|
+
ActiveRecord::Schema.define do
|
69
|
+
rename_column "entries", "name", "title"
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
cols = ActiveRecord::Base.connection.columns("entries")
|
74
|
+
assert cols.find {|col| col.name == "title"}
|
75
|
+
assert !cols.find {|col| col.name == "name"}
|
76
|
+
end
|
77
|
+
|
78
|
+
def test_rename_column_preserves_content
|
79
|
+
post = Entry.find(:first)
|
80
|
+
assert_equal @title, post.title
|
81
|
+
assert_equal @content, post.content
|
82
|
+
assert_equal @rating, post.rating
|
83
|
+
|
84
|
+
assert_nothing_raised do
|
85
|
+
ActiveRecord::Schema.define do
|
86
|
+
rename_column "entries", "title", "name"
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
post = Entry.find(:first)
|
91
|
+
assert_equal @title, post.name
|
92
|
+
assert_equal @content, post.content
|
93
|
+
assert_equal @rating, post.rating
|
94
|
+
end
|
95
|
+
|
96
|
+
def test_rename_column_preserves_index
|
97
|
+
assert_equal(0, @connection.indexes(:entries).size)
|
98
|
+
|
99
|
+
index_name = "entries_index"
|
100
|
+
|
101
|
+
assert_nothing_raised do
|
102
|
+
ActiveRecord::Schema.define do
|
103
|
+
add_index "entries", "title", :name => index_name
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
indexes = @connection.indexes(:entries)
|
108
|
+
assert_equal(1, indexes.size)
|
109
|
+
assert_equal "entries", indexes.first.table.to_s
|
110
|
+
assert_equal index_name, indexes.first.name
|
111
|
+
assert !indexes.first.unique
|
112
|
+
assert_equal ["title"], indexes.first.columns
|
113
|
+
|
114
|
+
assert_nothing_raised do
|
115
|
+
ActiveRecord::Schema.define do
|
116
|
+
rename_column "entries", "title", "name"
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
indexes = @connection.indexes(:entries)
|
121
|
+
assert_equal(1, indexes.size)
|
122
|
+
assert_equal "entries", indexes.first.table.to_s
|
123
|
+
assert_equal index_name, indexes.first.name
|
124
|
+
assert !indexes.first.unique
|
125
|
+
assert_equal ["name"], indexes.first.columns
|
126
|
+
end
|
127
|
+
|
128
|
+
def test_change_column_default
|
129
|
+
assert_nothing_raised do
|
130
|
+
ActiveRecord::Schema.define do
|
131
|
+
add_column "entries", "test_change_column_default", :string, :default => "unchanged"
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
cols = ActiveRecord::Base.connection.columns("entries")
|
136
|
+
col = cols.find{|col| col.name == "test_change_column_default"}
|
137
|
+
assert col
|
138
|
+
assert_equal col.default, 'unchanged'
|
139
|
+
|
140
|
+
assert_nothing_raised do
|
141
|
+
ActiveRecord::Schema.define do
|
142
|
+
change_column_default "entries", "test_change_column_default", "changed"
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
cols = ActiveRecord::Base.connection.columns("entries")
|
147
|
+
col = cols.find{|col| col.name == "test_change_column_default"}
|
148
|
+
assert col
|
149
|
+
assert_equal col.default, 'changed'
|
150
|
+
end
|
151
|
+
|
152
|
+
def test_change_column
|
153
|
+
assert_nothing_raised do
|
154
|
+
ActiveRecord::Schema.define do
|
155
|
+
add_column "entries", "test_change_column", :string
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
cols = ActiveRecord::Base.connection.columns("entries")
|
160
|
+
col = cols.find{|col| col.name == "test_change_column"}
|
161
|
+
assert col
|
162
|
+
assert_equal col.type, :string
|
163
|
+
|
164
|
+
assert_nothing_raised do
|
165
|
+
ActiveRecord::Schema.define do
|
166
|
+
change_column "entries", "test_change_column", :integer
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
cols = ActiveRecord::Base.connection.columns("entries")
|
171
|
+
col = cols.find{|col| col.name == "test_change_column"}
|
172
|
+
assert col
|
173
|
+
assert_equal col.type, :integer
|
174
|
+
end
|
175
|
+
|
176
|
+
end
|
177
|
+
|
178
|
+
# assert_raise ActiveRecord::RecordInvalid do
|
179
|
+
|
180
|
+
class SQLite3HasManyThroughTest < Test::Unit::TestCase
|
181
|
+
include HasManyThroughMethods
|
182
|
+
end
|
183
|
+
|
184
|
+
if jruby?
|
185
|
+
JInteger = java.lang.Integer
|
186
|
+
else
|
187
|
+
JInteger = Fixnum
|
188
|
+
class Fixnum
|
189
|
+
# Arbitrary value...we could pick
|
190
|
+
MAX_VALUE = 2
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
class SQLite3TypeConversionTest < Test::Unit::TestCase
|
195
|
+
TEST_TIME = Time.at(1169964202)
|
196
|
+
TEST_BINARY = "Some random binary data % \0 and then some"
|
197
|
+
def setup
|
198
|
+
DbTypeMigration.up
|
199
|
+
DbType.create(
|
200
|
+
:sample_timestamp => TEST_TIME,
|
201
|
+
:sample_datetime => TEST_TIME,
|
202
|
+
:sample_time => TEST_TIME,
|
203
|
+
:sample_date => TEST_TIME,
|
204
|
+
:sample_decimal => JInteger::MAX_VALUE + 1,
|
205
|
+
:sample_small_decimal => 3.14,
|
206
|
+
:sample_binary => TEST_BINARY)
|
207
|
+
end
|
208
|
+
|
209
|
+
def teardown
|
210
|
+
DbTypeMigration.down
|
211
|
+
end
|
212
|
+
|
213
|
+
def test_decimal
|
214
|
+
types = DbType.find(:first)
|
215
|
+
assert_equal((JInteger::MAX_VALUE + 1), types.sample_decimal)
|
216
|
+
end
|
217
|
+
|
218
|
+
def test_decimal_scale
|
219
|
+
types = DbType.find(:first)
|
220
|
+
assert_equal(2, DbType.columns_hash["sample_small_decimal"].scale)
|
221
|
+
end
|
222
|
+
|
223
|
+
def test_decimal_precision
|
224
|
+
types = DbType.find(:first)
|
225
|
+
assert_equal(3, DbType.columns_hash["sample_small_decimal"].precision)
|
226
|
+
end
|
227
|
+
|
228
|
+
def test_binary
|
229
|
+
types = DbType.find(:first)
|
230
|
+
assert_equal(TEST_BINARY, types.sample_binary)
|
231
|
+
end
|
232
|
+
|
233
|
+
end
|
metadata
ADDED
@@ -0,0 +1,188 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: activerecord-jdbc-adapter
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 9
|
8
|
+
- 3
|
9
|
+
version: 0.9.3
|
10
|
+
platform: java
|
11
|
+
authors:
|
12
|
+
- Nick Sieger, Ola Bini and JRuby contributors
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-02-23 00:00:00 -06:00
|
18
|
+
default_executable:
|
19
|
+
dependencies: []
|
20
|
+
|
21
|
+
description: |-
|
22
|
+
activerecord-jdbc-adapter is a database adapter for Rails' ActiveRecord
|
23
|
+
component that can be used with JRuby[http://www.jruby.org/]. It allows use of
|
24
|
+
virtually any JDBC-compliant database with your JRuby on Rails application.
|
25
|
+
email: nick@nicksieger.com, ola.bini@gmail.com
|
26
|
+
executables: []
|
27
|
+
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files:
|
31
|
+
- History.txt
|
32
|
+
- Manifest.txt
|
33
|
+
- README.txt
|
34
|
+
- LICENSE.txt
|
35
|
+
files:
|
36
|
+
- History.txt
|
37
|
+
- Manifest.txt
|
38
|
+
- README.txt
|
39
|
+
- Rakefile
|
40
|
+
- LICENSE.txt
|
41
|
+
- lib/jdbc_adapter.rb
|
42
|
+
- lib/pg.rb
|
43
|
+
- lib/active_record/connection_adapters/cachedb_adapter.rb
|
44
|
+
- lib/active_record/connection_adapters/derby_adapter.rb
|
45
|
+
- lib/active_record/connection_adapters/h2_adapter.rb
|
46
|
+
- lib/active_record/connection_adapters/hsqldb_adapter.rb
|
47
|
+
- lib/active_record/connection_adapters/informix_adapter.rb
|
48
|
+
- lib/active_record/connection_adapters/jdbc_adapter.rb
|
49
|
+
- lib/active_record/connection_adapters/jdbc_adapter_spec.rb
|
50
|
+
- lib/active_record/connection_adapters/jndi_adapter.rb
|
51
|
+
- lib/active_record/connection_adapters/mysql_adapter.rb
|
52
|
+
- lib/active_record/connection_adapters/oracle_adapter.rb
|
53
|
+
- lib/active_record/connection_adapters/postgresql_adapter.rb
|
54
|
+
- lib/active_record/connection_adapters/sqlite3_adapter.rb
|
55
|
+
- lib/generators/jdbc/jdbc_generator.rb
|
56
|
+
- lib/jdbc_adapter/jdbc_cachedb.rb
|
57
|
+
- lib/jdbc_adapter/jdbc_db2.rb
|
58
|
+
- lib/jdbc_adapter/jdbc_derby.rb
|
59
|
+
- lib/jdbc_adapter/jdbc_firebird.rb
|
60
|
+
- lib/jdbc_adapter/jdbc_hsqldb.rb
|
61
|
+
- lib/jdbc_adapter/jdbc_informix.rb
|
62
|
+
- lib/jdbc_adapter/jdbc_mimer.rb
|
63
|
+
- lib/jdbc_adapter/jdbc_mssql.rb
|
64
|
+
- lib/jdbc_adapter/jdbc_mysql.rb
|
65
|
+
- lib/jdbc_adapter/jdbc_oracle.rb
|
66
|
+
- lib/jdbc_adapter/jdbc_postgre.rb
|
67
|
+
- lib/jdbc_adapter/jdbc_sqlite3.rb
|
68
|
+
- lib/jdbc_adapter/jdbc_sybase.rb
|
69
|
+
- lib/jdbc_adapter/missing_functionality_helper.rb
|
70
|
+
- lib/jdbc_adapter/rake_tasks.rb
|
71
|
+
- lib/jdbc_adapter/tsql_helper.rb
|
72
|
+
- lib/jdbc_adapter/version.rb
|
73
|
+
- lib/jdbc_adapter/jdbc_adapter_internal.jar
|
74
|
+
- test/abstract_db_create.rb
|
75
|
+
- test/cachedb_simple_test.rb
|
76
|
+
- test/db2_simple_test.rb
|
77
|
+
- test/derby_migration_test.rb
|
78
|
+
- test/derby_multibyte_test.rb
|
79
|
+
- test/derby_simple_test.rb
|
80
|
+
- test/generic_jdbc_connection_test.rb
|
81
|
+
- test/h2_simple_test.rb
|
82
|
+
- test/has_many_through.rb
|
83
|
+
- test/helper.rb
|
84
|
+
- test/hsqldb_simple_test.rb
|
85
|
+
- test/informix_simple_test.rb
|
86
|
+
- test/jdbc_common.rb
|
87
|
+
- test/jndi_callbacks_test.rb
|
88
|
+
- test/jndi_test.rb
|
89
|
+
- test/manualTestDatabase.rb
|
90
|
+
- test/minirunit.rb
|
91
|
+
- test/mssql_simple_test.rb
|
92
|
+
- test/mysql_db_create_test.rb
|
93
|
+
- test/mysql_multibyte_test.rb
|
94
|
+
- test/mysql_nonstandard_primary_key_test.rb
|
95
|
+
- test/mysql_simple_test.rb
|
96
|
+
- test/oracle_simple_test.rb
|
97
|
+
- test/pick_rails_version.rb
|
98
|
+
- test/postgres_db_create_test.rb
|
99
|
+
- test/postgres_mixed_case_test.rb
|
100
|
+
- test/postgres_nonseq_pkey_test.rb
|
101
|
+
- test/postgres_reserved_test.rb
|
102
|
+
- test/postgres_schema_search_path_test.rb
|
103
|
+
- test/postgres_simple_test.rb
|
104
|
+
- test/simple.rb
|
105
|
+
- test/sqlite3_simple_test.rb
|
106
|
+
- test/sybase_jtds_simple_test.rb
|
107
|
+
- test/activerecord/connection_adapters/type_conversion_test.rb
|
108
|
+
- test/activerecord/connections/native_jdbc_mysql/connection.rb
|
109
|
+
- test/db/cachedb.rb
|
110
|
+
- test/db/db2.rb
|
111
|
+
- test/db/derby.rb
|
112
|
+
- test/db/h2.rb
|
113
|
+
- test/db/hsqldb.rb
|
114
|
+
- test/db/informix.rb
|
115
|
+
- test/db/jdbc.rb
|
116
|
+
- test/db/jndi_config.rb
|
117
|
+
- test/db/logger.rb
|
118
|
+
- test/db/mssql.rb
|
119
|
+
- test/db/mysql.rb
|
120
|
+
- test/db/oracle.rb
|
121
|
+
- test/db/postgres.rb
|
122
|
+
- test/db/sqlite3.rb
|
123
|
+
- test/jdbc_adapter/jdbc_db2_test.rb
|
124
|
+
- test/jdbc_adapter/jdbc_sybase_test.rb
|
125
|
+
- test/minirunit/testConnect.rb
|
126
|
+
- test/minirunit/testH2.rb
|
127
|
+
- test/minirunit/testHsqldb.rb
|
128
|
+
- test/minirunit/testLoadActiveRecord.rb
|
129
|
+
- test/minirunit/testMysql.rb
|
130
|
+
- test/minirunit/testRawSelect.rb
|
131
|
+
- test/models/add_not_null_column_to_table.rb
|
132
|
+
- test/models/auto_id.rb
|
133
|
+
- test/models/data_types.rb
|
134
|
+
- test/models/entry.rb
|
135
|
+
- test/models/mixed_case.rb
|
136
|
+
- test/models/reserved_word.rb
|
137
|
+
- test/models/string_id.rb
|
138
|
+
- test/models/validates_uniqueness_of_string.rb
|
139
|
+
- lib/jdbc_adapter/jdbc.rake
|
140
|
+
- src/java/jdbc_adapter/JdbcAdapterInternalService.java
|
141
|
+
- src/java/jdbc_adapter/JdbcConnectionFactory.java
|
142
|
+
- src/java/jdbc_adapter/JdbcDerbySpec.java
|
143
|
+
- src/java/jdbc_adapter/JdbcMySQLSpec.java
|
144
|
+
- src/java/jdbc_adapter/MssqlRubyJdbcConnection.java
|
145
|
+
- src/java/jdbc_adapter/PostgresRubyJdbcConnection.java
|
146
|
+
- src/java/jdbc_adapter/RubyJdbcConnection.java
|
147
|
+
- src/java/jdbc_adapter/SQLBlock.java
|
148
|
+
- src/java/jdbc_adapter/Sqlite3RubyJdbcConnection.java
|
149
|
+
- rakelib/compile.rake
|
150
|
+
- rakelib/package.rake
|
151
|
+
- rakelib/rails.rake
|
152
|
+
- rakelib/test.rake
|
153
|
+
- rails_generators/jdbc_generator.rb
|
154
|
+
- rails_generators/templates/config/initializers/jdbc.rb
|
155
|
+
- rails_generators/templates/lib/tasks/jdbc.rake
|
156
|
+
has_rdoc: true
|
157
|
+
homepage: http://jruby-extras.rubyforge.org/activerecord-jdbc-adapter
|
158
|
+
licenses: []
|
159
|
+
|
160
|
+
post_install_message:
|
161
|
+
rdoc_options:
|
162
|
+
- --main
|
163
|
+
- README.txt
|
164
|
+
require_paths:
|
165
|
+
- lib
|
166
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
167
|
+
requirements:
|
168
|
+
- - ">="
|
169
|
+
- !ruby/object:Gem::Version
|
170
|
+
segments:
|
171
|
+
- 0
|
172
|
+
version: "0"
|
173
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
segments:
|
178
|
+
- 0
|
179
|
+
version: "0"
|
180
|
+
requirements: []
|
181
|
+
|
182
|
+
rubyforge_project: jruby-extras
|
183
|
+
rubygems_version: 1.3.6
|
184
|
+
signing_key:
|
185
|
+
specification_version: 3
|
186
|
+
summary: JDBC adapter for ActiveRecord, for use within JRuby on Rails.
|
187
|
+
test_files: []
|
188
|
+
|