[ http://jira.andromda.org/browse/HIB-126?page=comments#action_11901 ] Chad Brandon commented on HIB-126: ----------------------------------
I'm saying why don't you make your RelationEnd embedded values attributes on the entity instead of as association ends? > Embedded classes doesn't handle associations > -------------------------------------------- > > Key: HIB-126 > URL: http://jira.andromda.org/browse/HIB-126 > Project: Hibernate Cartridge > Type: Improvement > Versions: 3.1-RC1 > Reporter: Pietro Bonanno > Assignee: Carlos Cuenca > Priority: Minor > > When creating an Embedded class, having an association with another Entity, > the generated Hibernate mappings are broken. > I.e., they have "markers" inside attributes, instead of Entity values: > <component name="relEnd1" class="biz.bassnet.cmos.core.dal.RelationEndImpl"> > <many-to-one name="structRef" > class="biz.bassnet.cmos.core.dal.StructImpl" outer-join="$otherEnd.outerJoin" > foreign-key="$otherEnd.foreignKeyConstraintName"> > <column name="$otherEnd.columnName" not-null="true" > sql-type="$otherEnd.sqlType"/> > </many-to-one> > </component> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Andromda-devel mailing list Andromda-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-devel