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
Ready and working solution for DATE and TIME: How to map MySQL DATE '0000-00-00' & TIME '00:00:00' with Hibernate
Thanks Preston for the code and ChssPly76 for useful comments.