How to store message as a blob in the database
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Manal_Aboujtila
Posted On:   Tuesday, April 30, 2002 10:04 AM



Hello There


I am developing an email client, and my problem is how to store
messages in oracle database  , I want to store messages as blob but I don't
know how to put the object from Message class in the blob


I do write the message to an OutPutStream ,
then I convert this OutPutStream to an array of
bytes so how do I assign this data to a blob .Please
help


Thank you in advance


 



Re: How to store message as a blob in the database

Posted By:   John_Zukowski  
Posted On:   Wednesday, May 1, 2002 08:51 AM

If your problem is going from bytes to blob that the issue isn't a JavaMail one but a JDBC one. Perhaps you should look in the JDBC FAQ.
About | Sitemap | Contact