Skip to content

Commit

Permalink
GEOMESA-3296 Fix JDBC converter statement call
Browse files Browse the repository at this point in the history
  • Loading branch information
elahrvivaz committed Sep 18, 2023
1 parent 008807b commit bad5cf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ object JdbcConverter {
false
} else {
val sql = statements.next.trim()
statement = connection.prepareCall(if (sql.endsWith(";")) { sql } else { s"$sql;" })
statement = connection.prepareStatement(if (sql.endsWith(";")) { sql } else { s"$sql;" })
results = statement.executeQuery()
true
}
Expand Down

0 comments on commit bad5cf1

Please sign in to comment.