How can I extract documents that are saved in an Oracle database as LONG RAW out to files?.
I can't get the methods using blobs to work e.g tLOBDownload.
A typical error is "B] cannot be cast to java.sql.Blob"
Have you tried to use tOracleInput component and the column type should be LONG RAW to extract your data to see if it works? The column type should be LONG RAW. What does your expected output look like? Is the result hexadecimal?
Yep, using tOracleInput and it is recognised as LONG RAW.
I can extract the data from the LONG RAW if I use tMap to a Ms SQL database (VARBINARY) then use tLOBDownload. And the extracted file is complete (content is a Word doc that opens in Word successfully).
I cannot work out how to extract it from tOracleInput. LONG RAW are not Blobs so the usual methods don't work. Oracle website details how to stream long raw but I can't translate that to java code on tJavaRow (not a java programmer). Ideally I would prefer not use drop them into Ms SQL table
Join us at the Community Lounge.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Pick up some tips and tricks with Context Variables
Learn how media organizations have achieved success with Data Integration
Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend