EclipseLink/UserGuide/MOXy/Simple Values/Special Schema Types/Binary Types
|Mailing List • Forums • IRC • mattermost|
|Open • Help Wanted • Bug Day|
There are a few extra things to consider when mapping to fields of type byte[ ] or Byte.
byte  versus Byte
Unlike other Java primitive/wrapper types, Eclipselink differentiates between byte (primitive) and Byte (wrapper) data types. By default, byte will marshal to a single "blob" of XML, whereas Byte will marshal each byte as its own element.