public void updateImage(ImageData imageData) throws Exception { fUpdateTopicContent.setString(1, imageData.getUrl()); fUpdateTopicContent.setString(2, imageData.getFilename()); fUpdateTopicContent.setString(3, imageData.getName()); fUpdateTopicContent.execute(); }
public void insertImage(ImageData imageData) throws Exception { fInsertImage.setString(1, imageData.getName()); fInsertImage.setString(2, imageData.getUrl()); fInsertImage.setString(3, imageData.getFilename()); fInsertImage.execute(); }