Changed beforeSet handling of db dates in autogenerated models