Saving Docs into Database

I’ve acquired a trial version of your product for Java Platform and i would like to know how can i save the data of the file in my database without having to save the file on disk.

Hi,

I’m sorry to inform you that exporting pdf form data to a database directly using Aspose.Pdf.Kit for Java is not supported. This is supported in Aspose.Pdf.Kit for .NET. I have logged this requirement as PDFKITJAVA-11850 in our issue tracking system. You’ll be updated once it is supported.

However, you can export the PDF form data as XML in a ByteArrayOutputStream using exportXml method and then export that XML data to a database using java code.