I tested with this piece of code and it works: //modified is the instance client had changed Record modified = (Record) processClientRequest(); EntityManager em = emf.createEntityManager(); Record merged = (Record) em.merge(modified); //assume begin is a date and client set the date to null, update the date field after merged merged.setBegin( modified.getBegin() );
-- View this message in context: http://openjpa.208410.n2.nabble.com/Null-field-not-persisted-for-Dates-tp5993519p6351057.html Sent from the OpenJPA Users mailing list archive at Nabble.com.