From: <hib...@li...> - 2006-07-21 06:41:28
|
Author: chr...@jb... Date: 2006-07-21 02:41:22 -0400 (Fri, 21 Jul 2006) New Revision: 10129 Modified: trunk/Hibernate3/doc/reference/en/modules/tutorial.xml Log: HHH-1906 Modified: trunk/Hibernate3/doc/reference/en/modules/tutorial.xml =================================================================== --- trunk/Hibernate3/doc/reference/en/modules/tutorial.xml 2006-07-20 19:32:13 UTC (rev 10128) +++ trunk/Hibernate3/doc/reference/en/modules/tutorial.xml 2006-07-21 06:41:22 UTC (rev 10129) @@ -931,7 +931,7 @@ </sect2> - <sect2 id="tutorial-associations-working" revision="1"> + <sect2 id="tutorial-associations-working" revision="2"> <title>Working the association</title> <para> @@ -1020,7 +1020,8 @@ Long eventId = mgr.createAndStoreEvent("My Event", new Date()); Long personId = mgr.createAndStorePerson("Foo", "Bar"); mgr.addPersonToEvent(personId, eventId); - System.out.println("Added person " + personId + " to event " + eventId);]]></programlisting> + System.out.println("Added person " + personId + " to event " + eventId); +}]]></programlisting> <para> This was an example of an association between two equally important classes, two entities. |