This discussion is archived
1 Reply Latest reply: Oct 16, 2013 9:37 AM by rukbat RSS

blob to byte array in java

936666 Newbie
Currently Being Moderated

how to split the blob in java and stored in oracle table.

split the blob based on the byte array in java and store it in table.

 

for spliting say

Column1 -1 byte

Column2-3 byte

Column3-5 byte

.

.

ColumnN-5 byte

Table will have corresponding data type

Column1 - number(10,2)

Column2 - Float

Column3 - Double

.

.

ColumnN-Float

here Column2 datatype is float but it will always have 3 byte information.

where as Column3 datatype is also float but it will always have 5 byte information.

 

Say N is Column 120

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points