activerecord-jdbcteradata-adapter 0.3.9 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "activerecord-jdbcteradata-adapter"
|
3
|
-
s.version = "0.
|
3
|
+
s.version = "0.4.0"
|
4
4
|
s.authors = ["Chris Parker"]
|
5
5
|
s.email = [ "mrcsparker@gmail.com"]
|
6
6
|
s.homepage = "https://github.com/mrcsparker/activerecord-jdbcteradata-adapter"
|
@@ -10,7 +10,7 @@ class ActiveRecord::Base
|
|
10
10
|
config[:username] ||= Java::JavaLang::System.get_property('user.name')
|
11
11
|
config[:host] ||= 'localhost'
|
12
12
|
config[:port] ||= 1025
|
13
|
-
config[:url] ||= "jdbc:teradata://#{config[:host]}/DATABASE=#{config[:database]},DBS_PORT=#{config[:port]},COP=OFF,tmode=
|
13
|
+
config[:url] ||= "jdbc:teradata://#{config[:host]}/DATABASE=#{config[:database]},DBS_PORT=#{config[:port]},COP=OFF,tmode=Teradata,charset=UTF8"
|
14
14
|
config[:driver] ||= 'com.teradata.jdbc.TeraDriver'
|
15
15
|
config[:adapter_class] = ActiveRecord::ConnectionAdapters::TeradataAdapter
|
16
16
|
config[:adapter_spec] = ::ArJdbc::Teradata
|