Nullable Date column merge problem
Posted
by Vladimir
on Stack Overflow
See other posts from Stack Overflow
or by Vladimir
Published on 2010-03-16T10:49:14Z
Indexed on
2010/04/02
22:03 UTC
Read the original article
Hit count: 468
I am using JPA with openjpa implementation beneath, on a Geronimo application server. I am also using MySQL database. I have a problem with updating object with nullable Date property. When I'm trying to merge entity with Date property set to null, no sql update script is generated (or when other fields are modified, sql update script is generated, but date field is ommited from it). If date field is set to some other not null value, update script is properly generated.
Did anyone have problem like that?
© Stack Overflow or respective owner