Aleksei Valikov:
> Please see the globalBindings/_at_optionalProperty customization,
> sections 5.5.1 and 5.5.4 in the spec.
It seems reasonable. Alas, it doesn't work for me. I have tried
<jaxb:globalBindings optionalProperty="primitive">
and despite of it Jaxb generates getters of Integer values ( instead of
int values).
I also tried
<jaxb:globalBindings optionalProperty="isSet"> - The effect is the same
(Integers not ints)/
Maybe there is a bug in Jaxb?... I use Jaxb v.2.1.7
-tt.