Community
Participate
Working Groups
In EclipseLink SDO, if both the javax.activation and javax.mail packages are not available on the classpath, an XMLBinaryDataMapping cannot be used. As a result, if a mapping is being generated for a DataHandler, but javax.mail is not on the classpath, a DirectMapping is generated, which is unable to properly process a DataHandler. Since EclipseLink can't handle a DataHandler without a BinaryDataMapping, in the condition that a mapping for a DataHandler is being generated, but a dependency required for XMLBinaryDataMapping is missing, an exception should be thrown.
Created attachment 179775 [details] Proposed Fix
Attached patch checked into SVN Reviewed by Blaise Doughan
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink