Learning how to use PostgreSQL and  JDCP