as stated,
does java jdbc driver for postgresql has client side \\copy?
I wanted to do batch inserts into a table in the database on a remote machine with d
add ip of your system from where you used to update database in pg_hba.conf file connect usinyg url
jdbc:postgresql://host:port/database
execute query