I\'ve created a UserType (see below) to handle a situation in our mySQL database where we\'ve been saving null dates as 0000-00-00 00:00:00.
When I try and persist m
These nuances are quite well discussed here: http://blog.xebia.com/2009/11/09/understanding-and-writing-hibernate-user-types/