public void createTables(List<TableInfo> tableInfos, CREATE_TABLE createTable) throws SQLException, IOException {

        Connection conn = getConnection();
        for (TableInfo tableInfo : tableInfos) {

            if (createTable.equals(CREATE_TABLE.DROP_IF_EXISTS)) {
                dropTableIfExists(conn, tableInfo.getName());
            } else if (createTable.equals(CREATE_TABLE.SKIP_IF_EXISTS)) {
                if (containsTable(tableInfo.getName())) {
                    continue;
                }
            }
            createTable(conn, tableInfo);
        }
        conn.commit();

    }
JDBC driver class.  Override as necessary.

@return
tika-eval/tika-eval-app/src/main/java/org/apache/tika/eval/app/db/JDBCUtil.java