Db supports BLOBs, but I never did anything with them in java, less so cocoon :) Is it possible to use ESQL someways? Probably not, isn't it :)
osup Cituji z emailu od Jorg Heymans <[EMAIL PROTECTED]>: > Doesn't your database support the blob fieldtype? I am not sure why you > store the inputstream in a string first. > > > Hi, I have a little problem (I'm not sure, if it is problem of cocoon or > > pure > > java - if so, I apologize :). When I want to store into database binary > > data of > > uploaded file, many of characters are replaced by '?'. When I tried to > > store > > data to the file, everything was ok (it means, that from InputStream are > > going > > out relative correct characters). It looks like, that problem comes on by > > assigning of InputStream data to the String (I tried InputStreamReader > > with > > correct encoding also) and following storing into database for this > reason > > fails. > > > > What have I to do differently? Thanx a lot! > > > > osup > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]