Included modules
Constants
CLOB_TYPE | = | Java::JavaSQL::Types::CLOB | ||
NUMERIC_TYPE | = | Java::JavaSQL::Types::NUMERIC | ||
TIMESTAMPTZ_TYPES | = | [Java::OracleJdbc::OracleTypes::TIMESTAMPTZ, Java::OracleJdbc::OracleTypes::TIMESTAMPLTZ].freeze | ||
TIMESTAMP_TYPE | = | Java::JavaSQL::Types::TIMESTAMP |
Public Instance methods
type_convertor(map, meta, type, i)
[show source]
# 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