This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch TIKA-4234
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/TIKA-4234 by this push:
     new a29488c60 TIKA_4234 -- improve jdbc reporter, improve comment
a29488c60 is described below

commit a29488c6087af269a36bab1aff13f56de549a6cf
Author: tallison <[email protected]>
AuthorDate: Thu Apr 4 10:09:26 2024 -0400

    TIKA_4234 -- improve jdbc reporter, improve comment
---
 .../java/org/apache/tika/pipes/reporters/jdbc/JDBCPipesReporter.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/tika-pipes/tika-pipes-reporters/tika-pipes-reporter-jdbc/src/main/java/org/apache/tika/pipes/reporters/jdbc/JDBCPipesReporter.java
 
b/tika-pipes/tika-pipes-reporters/tika-pipes-reporter-jdbc/src/main/java/org/apache/tika/pipes/reporters/jdbc/JDBCPipesReporter.java
index 51abee666..a1ffc8b15 100644
--- 
a/tika-pipes/tika-pipes-reporters/tika-pipes-reporter-jdbc/src/main/java/org/apache/tika/pipes/reporters/jdbc/JDBCPipesReporter.java
+++ 
b/tika-pipes/tika-pipes-reporters/tika-pipes-reporter-jdbc/src/main/java/org/apache/tika/pipes/reporters/jdbc/JDBCPipesReporter.java
@@ -323,6 +323,7 @@ public class JDBCPipesReporter extends PipesReporterBase 
implements Initializabl
                 if (isCreateTable()) {
                     createTable();
                 }
+                //table must exist for this to work
                 createPreparedStatement();
             } catch (SQLException e) {
                 throw new TikaConfigException("Problem creating connection, 
etc", e);

Reply via email to