1). Is there anyway that I can automatically determine the file extension of the BLOB object in the database?
2). When I run the java app, it takes a VERY long time for the app to read the BLOB object(s). Can you look at the following code and tell me if I'm doing something wrong?
Thanks for any help!
Jennifer Sohl wrote:Something else that is also really weird is once the attachment finally shows up in the JTextPane area (as a JButton), the JButton component (Jbutton) is constantly shaking (looks like it is rapidly bouncing up and down)....... anyone ever experienced this behavior before?
That sounds like a Swing question. You might want to post it in the Swing forum.
Jennifer Sohl wrote:Thanks for the reply! The file that I am storing in my table (which is defined as BLOB(5M)) is a .pdf that is only 116K....... it takes about 50 seconds for the information to come up on the screen...... the line of code that seems to be taking a long time is when I call the getBinaryStream() method. Any ideas?
Is your database on a remote machine? How long does it normally take to download a PDF that size? If you have a dial-up type connection, that sounds about normal.