Forums Register Login

encoding on a byte[]

+Pie Number of slices to send: Send
I am moving blobs from one Oracle table to another. When I get the stream, the ejb requires it to be converted to a String to be stored as a Long Raw type.

Do I need to worry about encoding the string? Can I find the encoding on the byte array?
+Pie Number of slices to send: Send
What kind of EJB is it and why is the LONG RAW column being converted to a string? Assuming it's an entity bean is it BMP or CMP and in any case why is the LONG RAW column being convereted to a string? As to whether encoding is important, I should think so if you are not the only consumer of that column. Other systems are going to have expectations about the format that you cannot change. Need more details.
Your buns are mine! But you can have this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 766 times.
Similar Threads
problem converting unicode characters from native to Java
difference between the two
Character encoding
how to convert byte array to string in java?
validating a byte array for some encoding
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:03:19.