...
Does Hive have a JDBC Driver?
Yes. Look out to the hive-jdbc jar.
It supports two modes: a local mode and a remote one.
In the remote mode it connects to the hive server through its Thrift API. The JDBC url to use should be of the form: 'jdbc:hive://hostname:port/databasename'
In the local mode Hive is embedded. The JDBC url to use should be 'jdbc:hive://'.