Hive function to allow Hive's user to get data from database thanks to JDBC