How to save JsonObject as BlobDomain?
Good morning ninja developers,
I have implemented a rest client in my ADF application returning a Json Object response. According to oracle documentation, Json objects could be recorded on the database as Varchar2, CLOB or BLOB but they eventually recommend to use BLOB .
So I added a BLOB column to my target table and then declared it as BlobDomain class in ADF.
Before saving, I cast the Json Object response as String and convert it to BlobDomain object. But I get this error message when saving:
Cannot create an object of type:oracle.jbo.domain.BlobDomain from type:weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB.