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
126 def type_convertor(map, meta, type, i)
127   case type
128   when NUMERIC_TYPE
129     if meta.getScale(i) == 0
130       map[:OracleDecimal]
131     else
132       super
133     end
134   when *TIMESTAMPTZ_TYPES
135     map[TIMESTAMP_TYPE]
136   when CLOB_TYPE 
137     map[:OracleClob]
138   else
139     super
140   end
141 end