Hello,

I'm having problem to get correct value of a text property which is
mapped against BLOB column in Oracle 10 table.
I declared the following class:

class Assetxml
  include DataMapper::Resource
  property :assetid, Integer, {:key => true}
  property :xml, Text
end

but when I read Assetxml.xml property in the code I get '#<OCI8::BLOB:
0x3bd8238>' string instead of the actual value stored in DB.
I'm using the latest dm gems. Also when reading the BLOB column using
the lower level ruby-oci8 API, I get what expected.
Is it a bug or I'm doing something wrong?

Thank you,
Jiri.

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to