Probably treats your custom types as embeddables for some reason.
Please open a Jira.
On Dec 9, 2009, at 11:12 AM, Michael Gentry wrote:
Using Cayenne Modeler 3.0B1, I edited an ObjEntity's Java Type to be a
custom enum (say, foo.bar.enums.MyType *). When I save the project, I
get a validation warning:
Warning: EmbeddedAttribute has incorrect Embeddable.
CM used to not work this way (never gave a warning for this). Is this
to be expected now or is it a bug?
Thanks!
mrg
* There is another bug that after typing in your custom enum class, it
wipes out the DbAttribute and DB Type value, too.