Large change to java.sql.Data over strings for PostgreSQL