class Sequel::JDBC::Oracle::Dataset

Constants

CLOB_TYPE
NUMERIC_TYPE
TIMESTAMPTZ_TYPES
TIMESTAMP_TYPE

Public Instance Methods

type_convertor(map, meta, type, i) click to toggle source
Calls superclass method Sequel::JDBC::Dataset#type_convertor
    # File lib/sequel/adapters/jdbc/oracle.rb
127 def type_convertor(map, meta, type, i)
128   case type
129   when NUMERIC_TYPE
130     if meta.getScale(i) == 0
131       map[:OracleDecimal]
132     else
133       super
134     end
135   when *TIMESTAMPTZ_TYPES
136     map[TIMESTAMP_TYPE]
137   when CLOB_TYPE 
138     map[:OracleClob]
139   else
140     super
141   end
142 end