Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

analyze of a BLOB

Status
Not open for further replies.

yanis97

Programmer
Jan 26, 2004
22
0
0
FR
Hi;

I get from Oracle Table a field BLOB with a big size (contains many data) and I would like to write a class which to get this field and to analyze the data for creating of the structures and objects.
For example into this field, at position 1 to 10, its of variables, position 12 at 45 its of indictors, etc...

Q : When I retrieves the BLOB, how implement the analyze binary (the size is very important) ?
A example or a implementation on this subject will be great.

Regards;
 
A couple of ideas:

- You should post this in the Java forum, this one is intended for pure J2EE questions.

- The interpretation of a Blob depends on what kind of data is stored in it. You need to know if it's a known format and use a predefined reader, or if it's your own format, you need to know the fields in it.

Here you have an example of how to get binary data from a Blob:
Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top