I'm looking for a way to write a java program which can access a PostgreSQL databse. The catch is the database only has unix domain sockets. I'm specifically avoiding opening up TCP sockets as that will cause a lot of complication with authentication.
Before I dive into JNI myself, is anyone aware of an existing PostgreSQL driver for java (JDBC or otherwise) which uses JNI. Eg: a type 2 JDBC driver.