ar-sybase-jdbc-adapter 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
Binary file
|
data/lib/arjdbc/sybase_jtds.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'arjdbc/mssql/adapter'
|
2
|
+
|
1
3
|
module ::ArJdbc
|
2
4
|
module SybaseJtds
|
3
5
|
def arel2_visitors
|
@@ -8,5 +10,9 @@ module ::ArJdbc
|
|
8
10
|
def self.jdbc_connection_class
|
9
11
|
::ActiveRecord::ConnectionAdapters::SybaseJdbcConnection
|
10
12
|
end
|
13
|
+
|
14
|
+
def self.column_selector
|
15
|
+
[/sybase/i, lambda {|cfg,col| col.extend(::ArJdbc::MsSQL::Column)}]
|
16
|
+
end
|
11
17
|
end
|
12
18
|
end
|