Subject | Re: [Firebird-Java] Blobs and Streams |
---|---|
Author | Steven Jardine |
Post date | 2005-04-07T22:09:21Z |
>I want to serve images of a web page directly from the database.This is probably out of the scope for this group but you should be able
>So I am going to use InputStream of the resultset.
>
>
to store the image as a byte[] easily enough. I would be reluctant to
store the actual InputStream because implementations change over time.
>Can someone tell me how fast this is (compared to FileInputStream)?You will probably need to create a test for yourself on this one. It
>
>
should be relatively simple to create a class that would time the
execution of each example. At least you would be able to know exactly
how much slower or faster this is for your specific environment and
implementation.
I would think that you should at least have similar performance in both
operations but the only real way to know is to try it. :-)
If you would like I would be happy to discuss the implementation of this
off group and come up with some specifics. Feel free to email me
directly if you would like.
Steve