use java.sql.Date instead of java.util.Date, since postgres seems to
need that