Hi Abhishek,
I have no first hand experience with this but I would advise to start your journey with the database connector.. I think that should work for basic queries. But it will take some puzzle work.
Using the database connector
And the correct JDBC driver
Jacob