Generally speaking you should use the Class Importer and not the map class to table wizard. The general class importer supports all classes and their relationships, whereas the single map class to table only looks at an instance, and it tries to instantiate it with a default constructor.
If your class relies on other classes not in the classpath it will fail, as will it fail if you don't have a default constructor.
For new map development, you should always begin with a class model import, or a table model import or an XMI import - those are class model centric as opposed to class centric. When you import the whole model by pointing it at a classpath/classdir it will be able to do a better job to resolve the class dependencies, etc.
Does that make sense?
THOUGHT Support
|