java.util.Date to java.sql.Date in Query API, java.util.Date will be truncated