I've got a Hibernate model that uses a custom type to represent boolean fields (ie, model has a 'Boolean' object, but the database writes a 0 or 1 to a TINYINT field. Changing the value of the boolean object from (true to false or false to true) will change the value on the object, but the Hibernate session manager doesn't seem to think the object had any values change, and therefore save()
does not actually write SQL to the DB.
Do I need to do something special in my custom type to get it to see changes? I'd prefer that to forcing each object to 'dirty' itself in accessors, but that's also possible.