Hi,

I am using cayenne-server-3.0M1. In my application, there is multiple
dataMaps for a dataDomain.
How can I register an object?

I tried

CmsText cmsText = new CmsText();
context.registerNewObject(cmsText);

But it gives the following exception:

java.lang.IllegalArgumentException: Can't find ObjEntity for DataObject
class: com.foo.window.text.model.CmsText, class is likely not mapped.
        at
org.apache.cayenne.access.DataContext.registerNewObject(DataContext.java:810)


Regards,
James
-- 
View this message in context: 
http://www.nabble.com/Register-object-in-multiple-dataMaps-environment-tp14319433p14319433.html
Sent from the Cayenne - User mailing list archive at Nabble.com.

Reply via email to