From: Vance K. <va...@us...> - 2006-03-17 14:20:39
|
User: vancek Date: 06/03/17 06:20:22 Modified: andromda-ejb3/src/site/xdoc howto2.xml Log: added transient docs and fixed tips subsection. Revision Changes Path 1.4 +15 -4 cartridges/andromda-ejb3/src/site/xdoc/howto2.xml Index: howto2.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/xdoc/howto2.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- howto2.xml 8 Feb 2006 10:19:38 -0000 1.3 +++ howto2.xml 17 Mar 2006 14:20:22 -0000 1.4 @@ -274,10 +274,21 @@ </ul> </p> </subsection> - <p class="highlight"> - Don't forget to properly set the multiplicity on the association ends and whether and end + <a name="Transient_Relationships"/> + <subsection name="Transient Relationships"> + <p> + To indicate an association relationship target as transient (not persisted by the persistence + container), you model the <![CDATA[<<Transient>>]]> stereotype on the target end. This adds the + <code>@javax.persistence.Transient</code> annotation to the relationship getter. + </p> + </subsection> + <a name="Tips"/> + <subsection name="Tips"> + <p> + Don't forget to properly set the multiplicity on the association ends and whether an end is navigable. This will ensure the proper code is generated. </p> + </subsection> </section> <section name="Next"> <p> |