Displaying 1 result from an estimated 1 matches for "definebypo".
Did you mean:
definebypos
2007 May 29
4
undefined method `define_a_column' for class `OCI8::Cursor'
...r be required with the upcoming
# release of version 0.2.
class Cursor #:nodoc:
alias :define_a_column_pre_ar :define_a_column
# <--- line 536
def define_a_column(i)
case do_ocicall(@ctx) { @parms[i -
1].attrGet(OCI_ATTR_DATA_TYPE) }
when 8 : @stmt.defineByPos(i, String, 65535) # Read LONG
values
when 187 : @stmt.defineByPos(i, OraDate) # Read TIMESTAMP
values
when 108
if @parms[i - 1].attrGet(OCI_ATTR_TYPE_NAME) == ''XMLTYPE''
@stmt.defineByPos(i, String, 65535)
else
raise ...