From: Javi (A. F. <fo...@an...> - 2008-11-26 10:09:13
|
I have two entities associated Event(child) and Party (parent). In Party I use a assigned identifier attribute "name" of type String. In Event I use a compose key of: - assigned identifier attribute "code" of type String. - The associationEnd to Party. The hibernate .xml is properlly generated. However I believe the EventPK is not. I would had expected it to have two attributes, code and name(comming from the association). However the primary key attributes are code, and party. In addition the Dao can not generate the proper load methods and only generates load method for code. Load(String code) but nothing about party or party name. Is this the expected behavior? Can it be change? Cheers, Javi _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=26710#26710 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! |