Posted on 2004-08-17
I am writing a process to write the user name together with some enrypted data which is an array of bytes.
This file will be loaded into a oracle 9i oracle database using external tables which allows files to be seen.
Now I could use the DataOutputStream class as this allows the writing of strings and bytes but not to sure if this would work correctly if loaded into an oracle table.
Alternatively I could use the FileWriter class to write the data, I could convert the bytes to an string object and write that.
In ORacle I then could cast this String using the UTL_RAW.CAST_TO_RAW() oracle function.
Does this seem ok or am I barking up the wrong the tree.
Thanks In advance