Hi,
I have a very simple (2 lines) patch which allows you to set ?readOnly=true on your connection string.
https://github.com/pgjdbc/pgjdbc/pull/26
Hopefully someone finds this useful.
Steven