File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed
Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -61,9 +61,7 @@ def self.jdbc_connection_class
6161 end
6262
6363 # @see ActiveRecord::ConnectionAdapters::JdbcAdapter#jdbc_column_class
64- def jdbc_column_class
65- ::ActiveRecord ::ConnectionAdapters ::MSSQLColumn
66- end
64+ def jdbc_column_class ; Column end
6765
6866 # @see ActiveRecord::ConnectionAdapters::Jdbc::ArelSupport
6967 def self . arel_visitor_type ( config )
@@ -740,3 +738,9 @@ class MSSQLColumn < JdbcColumn
740738 end
741739
742740end
741+
742+ module ArJdbc
743+ module MSSQL
744+ Column = ::ActiveRecord ::ConnectionAdapters ::MSSQLColumn
745+ end
746+ end
Original file line number Diff line number Diff line change 11ArJdbc . load_java_part :Oracle
22
3- require 'arjdbc/oracle/column'
4-
53module ArJdbc
64 module Oracle
75
6+ require 'arjdbc/oracle/column'
7+
88 # @private
99 def self . extended ( adapter ) ; initialize! ; end
1010
@@ -31,9 +31,7 @@ def self.jdbc_connection_class
3131 end
3232
3333 # @see ActiveRecord::ConnectionAdapters::JdbcAdapter#jdbc_column_class
34- def jdbc_column_class
35- ::ActiveRecord ::ConnectionAdapters ::OracleColumn
36- end
34+ def jdbc_column_class ; Column end
3735
3836 # @private
3937 @@update_lob_values = true
@@ -685,3 +683,9 @@ class OracleColumn < JdbcColumn
685683 end
686684
687685end
686+
687+ module ArJdbc
688+ module Oracle
689+ Column = ::ActiveRecord ::ConnectionAdapters ::OracleColumn
690+ end
691+ end
You can’t perform that action at this time.
0 commit comments