Instead of just ignoring default values in the generated model constructors, we modify the generator code in Java. The template checks for null before outputting a default value.