The Data Services backend is Java, Hibernate, and JBoss. I
have a table with a column that is a CLOB (character large object).
In Java the datatype is mapped to a java.sql.Clob and is easily
accessible from Java code. How do I transfer the Clob data to the
Flex Actionscript Value Object equivalent? I've set the data type
of the attribute to String and Object in the Actionscript VO but
all I get from Flex Data Services is a references to a managed
object. No translation to a primitive type is automatically done.
What am I missing?
This sounds like a worth candidate for an enhancement
request, I'll log one
for you on your behalf.
As a work around for now, can you convert your java.sql.Clob
to a char?
This should be returned as a String on the client. As for
can you convert that to a byte? This should be returned as
on the client.