Does hive jdbc support java.sql.PreparedStatement?
1 answer
Yes it does:
public class
HivePreparedStatement
extends HiveStatement implementsjava.sql.PreparedStatement
As you can see, Hive implements the JDBC interface internally PreparedStatement
, and thus the driver supports this JDBC functionality.
For reference see: https://hive.apache.org/javadocs/r1.2.2/api/org/apache/hive/jdbc/HivePreparedStatement.html
Hope it helps.
+4
source to share