Java Store Procedure with external library
556280Nov 17 2009 — edited Nov 17 2009Hi,
I have this kind of problem:
I have a java store procedure that edits a pdf file using iText library.
This is the procedure code:
CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED pjm2."PDFEDITOR" AS
import java.io.FileOutputStream;
import java.io.IOException;
import com.lowagie.text.Annotation;
import com.lowagie.text.DocumentException;
import com.lowagie.text.Image;
import com.lowagie.text.pdf.PdfContentByte;
import com.lowagie.text.pdf.PdfReader;
import com.lowagie.text.pdf.PdfStamper;
public class PdfEditor{
public static final float LLX1 = 50;
public static final float LLY1 = 50;
... ... ...
I have imported succesfully the iText.jar into Oracle using the command:
loadjava -u user/pwd iText.jar
But I can't resolve the "cannot resolve symbol" problem in my java function.
Thanks, Fabio.