The JPA tests
all have fields annotated with @Temporal(DATE) which means store as java.sql.Date. This will store only the year/month/day components. DataNucleus until recently just stored as a java.util.Date hence storing all details but now obeys the annotation. The check is currently for year/month/day/hour/min/sec yet should be for year/month/day only.