[HIVE-4806]: Added implementations of JDBC API methods to Hive and Hive 2