🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.interbase.sql
1 messages
1 total messages Started by Galo Alcolea Sun, 15 Dec 2002 21:25
java.mail Attachment and interbase
#11128
Author: Galo Alcolea
Date: Sun, 15 Dec 2002 21:25
14 lines
1658 bytes
Hello
I have a great problem (my experience with Java is small).
I need to insert in a field interbase BLOB 6.5 a file added to an electronic
mail message that I try with the API of java.mail. I would need help, since
of it depends it my application of course end. (An electronic mail agent).
The one added is received by means of part.getInputStream ();
(part corresponds one of the possible parts of a message of the type
MimeMultipart).
My biggest problem comes when trying to convert the getInputStreama a type
of compatible fact with the sentence SQL that allows to introduce the data
in the field Blob.
I need to store it in the database it stops later on through other methods
to be able to save him in file
Thank you
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads