I know this is an old discussion, but I think cayenne has evoluted since than. :)
I'm trying this method [1] and again it (the cayenne docs) confuses me. I've followed it: mapping all 3 tables, and creating 1..1 relationship between PERSON and subclass tables(NATURAL_PERSON and LEGAL_ENTITY) [2] When I try to set subclass-specific attributes as "flattened attributes", the relationship aren't present [3]. Can someone take a look at it[4]? Maybe I've missed something obvious! Regards, Gilberto [1]http://cayenne.apache.org/doc/modeling-vertical-inheritance.html [2] http://construtor.googlecode.com/svn/trunk/click-orm-integration/docs/park-er.pdf [3] http://dl.dropbox.com/u/9093640/objAttributeInspector01.png [4] http://code.google.com/p/construtor/source/browse/trunk/click-orm-integration/park-cayenne/src/main/resources/ParkMap.map.xml -- View this message in context: http://cayenne.195.n3.nabble.com/vertical-inheritance-tp4207p1644921.html Sent from the Cayenne - User mailing list archive at Nabble.com.
