java.util.Date is treated like java.sql.Timestamp in API