I'm a beginner in programming, my query is that I'm using the SQLite Manager database my table has two data types - Images & Texts, I'm trying to generate an iText Pdf report with the selected Images & Texts (the text part works fine), on executing the code I get the message "java.sql.SQLException: not implemented by SQLiteJDBC driver " I'm unsure what the problem is, your help on this is much appreciated...thanks in advance.
//Code for generating an itext report of selected image
Blob imageBlob = rs.getBlob("Image1"); byte[] imageBytes = imageBlob.getBytes(1, (int) imageBlob.length()); com.itextpdf.text.Image image = com.itextpdf.text.Image.getInstance(imageBytes); document.add(image);`
Aucun commentaire:
Enregistrer un commentaire