Subject: Analyze of a Blob
Posted By: yanis97 Post Date: 9/16/2006 12:04:43 PM
Hi;

I use Ibatis/Oracle 10 for getting a field BLOB I must transcribe the data which contains, for example: with the position from 0 to 10 I get of the dates, position 10 to 15 32-integer, etc... (with the constraint of the size of the BLOB which is very important).
 I think of doing this: I have my attribute:
byte [ ] data;
DataInputStream in = nex DataInputStream(new
ByteArrayInputStream(data))
Next, I use in.readFully(data, pos, len) to retreive the data.
its  the best implementation or not ? Have you a example ?

Regards;

Thank you;


Go to topic 49028

Return to index page 173
Return to index page 172
Return to index page 171
Return to index page 170
Return to index page 169
Return to index page 168
Return to index page 167
Return to index page 166
Return to index page 165
Return to index page 164