Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Fetching BLOB headers through java.

Re: Fetching BLOB headers through java.

From: DA Morgan <damorgan_at_psoug.org>
Date: Fri, 31 Mar 2006 09:17:07 -0800
Message-ID: <1143825414.814742@yasure.drizzle.com>


milindsj_at_gmail.com wrote:
> 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

By storing metadata with the BLOBS.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Fri Mar 31 2006 - 11:17:07 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US