JAXB treets empty int XML attribute as 0.

Posted by kot on Stack Overflow See other posts from Stack Overflow or by kot
Published on 2010-05-05T17:46:09Z Indexed on 2010/05/05 19:48 UTC
Read the original article Hit count: 194

Filed under:
|

JAXB treets empty int XML attribute as 0, which is fine with me, but I've got requirement to store it as a null. Seems I can't change DataConverterImpl class to custom implementation. What could be done if at all?

© Stack Overflow or respective owner

Related posts about jaxb

Related posts about java