Oci8 oracle rowid

Whenever I try to read a rowid from an Oracle table, I get:

TypeError: not valid handle type Class

The OCI documentation says rowid is supported, and that the
documentation on it is yet to be written. Anyone know how to read it?

Odd, I can do something like:

c.execute(“select * from dual where rowid = ‘AAAAECAABAAAAgiAAA’”)

but not:
r=c.exec(‘select rowid from dual’)

Mark P. wrote:

Whenever I try to read a rowid from an Oracle table, I get:

TypeError: not valid handle type Class

The OCI documentation says rowid is supported, and that the
documentation on it is yet to be written. Anyone know how to read it?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs