Is there data from com.ibm.connector2.cics.ECIChannelRecord that you wish to map, or does your domain class simply need to extend it?
If ECIChannelRecord contains data that you need to map, could you post some details about this class or provide a similar class that demonstrates the same issue to help us debug? Also the latest EclipseLink release is 2.5.0 (there is also EclipseLink 2.4.2) do you see the same error in the latest releases:
- http://www.eclipse.org/eclipselink/downloads/
If none of the super class properties are mapped then you can use an external mapping file to override the super class for MultipleContainers to be Object rather than ECIChannelRecord.
Mapping File (oxm.xml)
<?xml version="1.0"?>
<xml-bindings
xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm"
package-name="com.example.foo">
<java-types>
<java-type name="MultipleContainers" super-type="java.lang.Object"/>
</java-types>
</xml-bindings>
Bootstrapping from the Mapping File
import java.util.*;
import javax.xml.bind.JAXBContext;
import org.eclipse.persistence.jaxb.JAXBContextProperties;
public class Demo {
public static void main(String[] args) throws Exception {
Map<String, Object> properties = new HashMap<String, Object>(1);
properties.put(JAXBContextProperties.OXM_METADATA_SOURCE, "com/example/foo/oxm.xml");
JAXBContext jc = JAXBContext.newInstance(new Class[] {MultipleContainers.class}, properties);
}
}