Fetching BLOB headers through java.



Hi,
I have a table containing blob column.
There are some records in the table and the blob column contains .jpg,
..gif, .doc files.
I dont have filename stored in database which has the extension.
When I take the blob column throug java, how do I know whether the
respective blob is a gif file or jpg file or some other file.
Can I get the headers of BLOB column after fetching it through java?
Please let me know if you have any idea.

Milind

.



Relevant Pages

  • Re: Fetching BLOB headers through java.
    ... I have a table containing blob column. ... There are some records in the table and the blob column contains .jpg, ... When I take the blob column throug java, how do I know whether the ... respective blob is a gif file or jpg file or some other file. ...
    (comp.databases.oracle.server)
  • Re: Fetching BLOB headers through java.
    ... I have a table containing blob column. ... There are some records in the table and the blob column contains .jpg, ... When I take the blob column throug java, how do I know whether the ... respective blob is a gif file or jpg file or some other file. ...
    (comp.databases.oracle.server)
  • how to know contents of blob column
    ... I have a table containing blob column. ... There are some records in the table and the blob column contains .jpg, ... I dont have filename stored in database which have the extension. ... respective blob is a gif file or jpg file or some other file. ...
    (comp.databases.oracle.misc)