"Steiner, Priska" <[EMAIL PROTECTED]> wrote: > I have a strange problem. I tried to generate with Fop0.20.2 a pdf. I would > like for output an outputStream instead of a fileOutputStream. This works > fine, but when I tried to insert this Stream as a byte[] in a DB, the > content will be cutted.
PDF may contain characters which DBs usually deem to be illegal in text fields (CHAR or VARCHAR), most notably ASCII NUL (U+0000). Try to store the PDF in as BLOB. Notepad will also truncate data copied from the clipboard at NUL characters. HTH J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]