Re: Help required regarding showing pdf from blob data.

2008-09-01 Thread tomasz brymora
... I don't know if it will help, but look the iText library http://www.lowagie.com/iText/ (but you probably knew about already) --- On Mon, 9/1/08, Richard Yee <[EMAIL PROTECTED]> wrote: > From: Richard Yee <[EMAIL PROTECTED]> > Subject: Re: Help required regarding sho

Re: Help required regarding showing pdf from blob data.

2008-09-01 Thread Richard Yee
Ananth, You aren't storing PDF data into your blob. You are storing a String. You need to store a PDF in order to retrieve a PDF. You should use a PDF library to construct a PDF file. The error you are getting is caused by the fact that you are writing a String that you retrieved from the data

Help required regarding showing pdf from blob data.

2008-08-31 Thread Ananth.Majumdar
Hi, We are using Ibatis with Spring in our project. We have requirement to store pdf files in the database as blob columns and retrieve them and show them again as pdf. Currently we are doing the following. 1. We are converting the pdf file into a byte array and saving