Community
Participate
Working Groups
For binary mappings, if the domain object contains a field/property mapped to an attribute with local name "contentType" and uri "http://www.w3.org/2005/05/xmlmime" then the value of that field/property should be used for the mime type.
Created attachment 206975 [details] MOXy - Test Cases
Created attachment 206976 [details] MOXy - Fix
Created attachment 206981 [details] Core - Fix
Fix checked into 2.3.2 at rev: 10390 Fix checked into trunk at rev: 10391 Code Reviewed By: Matt MacIvor Fix Details: Modified FixedMimeTypePolioy to take the owning mapping. This mapping is used to find a mapping that maps to the contentType attribute to get the supplied mime type.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink