Hello All
I posted my question earlier. But did not get any response from the user
mailing list as well as the JAWS mailing list. I guess last time I did not
give suffice info. well here I go again....

I'm using JBoss, MySQL and am using struts as my MVC framework. I need to
store documents in the DB using the BLOB sql type. I have an Entity bean
which has a BLOB type as an attribute. I need to store and retrieve the
contents to and from the DB. But How do I store BLOB types. I can get a
byte[] containing the data contents using the FormFile class provided in the
struts framework. My questions are 
How can I store this byte[] as a BLOB in the DB?. 
How should my configuration in jaws.xml look like?. 
Do I need to write some sought of a wrapper class to do this?. If so what
should it provide in a functionality perspective?

Any help is appreciated very much.

TIA
Imran




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to