<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Grails Extended ManyToMany GORM Example</title>
	<atom:link href="http://www.reverttoconsole.com/blog/grails/grails-manytomany-gorm-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.reverttoconsole.com/blog/grails/grails-manytomany-gorm-example/</link>
	<description>for f in *;do echo &#124; sed &#039;i\rtc&#039; &#62;&#62; $f;done; java programming et al</description>
	<lastBuildDate>Thu, 19 Jan 2012 04:32:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Trying not to be gormless with GORM &#171; All things Grails and RIA</title>
		<link>http://www.reverttoconsole.com/blog/grails/grails-manytomany-gorm-example/comment-page-1/#comment-9910</link>
		<dc:creator>Trying not to be gormless with GORM &#171; All things Grails and RIA</dc:creator>
		<pubDate>Sun, 04 Apr 2010 15:51:51 +0000</pubDate>
		<guid isPermaLink="false">http://reverttoconsole.com/archives/194#comment-9910</guid>
		<description>[...] Revert to Console M-M blog post  Possibly related posts: (automatically generated)Our first postCharacter Profile: Re-Edit*SIGH* [...]</description>
		<content:encoded><![CDATA[<p>[...] Revert to Console M-M blog post  Possibly related posts: (automatically generated)Our first postCharacter Profile: Re-Edit*SIGH* [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.reverttoconsole.com/blog/grails/grails-manytomany-gorm-example/comment-page-1/#comment-125</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Tue, 10 Jun 2008 16:50:12 +0000</pubDate>
		<guid isPermaLink="false">http://reverttoconsole.com/archives/194#comment-125</guid>
		<description>hey take a look at the documentation:
http://grails.org/GORM+-+Defining+relationships

it explains the magic of addTo* much better than I did.

Going forward with my example I&#039;m more interested in creating a many to many relationship where the join table can have extra columns.</description>
		<content:encoded><![CDATA[<p>hey take a look at the documentation:<br />
<a href="http://grails.org/GORM+-+Defining+relationships" rel="nofollow">http://grails.org/GORM+-+Defining+relationships</a></p>
<p>it explains the magic of addTo* much better than I did.</p>
<p>Going forward with my example I&#8217;m more interested in creating a many to many relationship where the join table can have extra columns.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AnotherHale</title>
		<link>http://www.reverttoconsole.com/blog/grails/grails-manytomany-gorm-example/comment-page-1/#comment-124</link>
		<dc:creator>AnotherHale</dc:creator>
		<pubDate>Tue, 10 Jun 2008 05:02:22 +0000</pubDate>
		<guid isPermaLink="false">http://reverttoconsole.com/archives/194#comment-124</guid>
		<description>I am new to Grails/Groovy and not familiar with much of the syntax yet.  I am wondering if I can do the following.

In the Characteristic class can you replace these two methods:

  List addToPeople(Person person)
  List removeFromPeople(Person person)

with the following:

  List addPerson(Person person)
  List removePerson(Person person)

It just seems more intuitive to code charcteristic.addPerson(someperson).  I just don&#039;t know if there is something magical about &#039;addTo*&#039; or &#039;removeFrom*&#039;</description>
		<content:encoded><![CDATA[<p>I am new to Grails/Groovy and not familiar with much of the syntax yet.  I am wondering if I can do the following.</p>
<p>In the Characteristic class can you replace these two methods:</p>
<p>  List addToPeople(Person person)<br />
  List removeFromPeople(Person person)</p>
<p>with the following:</p>
<p>  List addPerson(Person person)<br />
  List removePerson(Person person)</p>
<p>It just seems more intuitive to code charcteristic.addPerson(someperson).  I just don&#8217;t know if there is something magical about &#8216;addTo*&#8217; or &#8216;removeFrom*&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andhapp</title>
		<link>http://www.reverttoconsole.com/blog/grails/grails-manytomany-gorm-example/comment-page-1/#comment-123</link>
		<dc:creator>andhapp</dc:creator>
		<pubDate>Sat, 07 Jun 2008 17:06:42 +0000</pubDate>
		<guid isPermaLink="false">http://reverttoconsole.com/archives/194#comment-123</guid>
		<description>I got stuck in the same thing as well... I had my hibernate mapping files ( *.hbm.xml) and I set the inverse to false on both sides of the relationship for the many to many to work... i noticed that if you do not do that it would not save the object (or the values) in the linking table for some reason.</description>
		<content:encoded><![CDATA[<p>I got stuck in the same thing as well&#8230; I had my hibernate mapping files ( *.hbm.xml) and I set the inverse to false on both sides of the relationship for the many to many to work&#8230; i noticed that if you do not do that it would not save the object (or the values) in the linking table for some reason.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.reverttoconsole.com/blog/grails/grails-manytomany-gorm-example/comment-page-1/#comment-122</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Sat, 07 Jun 2008 15:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://reverttoconsole.com/archives/194#comment-122</guid>
		<description>I found the official documentation example today, which is very clear. Thanks for the tip Graeme.</description>
		<content:encoded><![CDATA[<p>I found the official documentation example today, which is very clear. Thanks for the tip Graeme.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graeme Rocher</title>
		<link>http://www.reverttoconsole.com/blog/grails/grails-manytomany-gorm-example/comment-page-1/#comment-127</link>
		<dc:creator>Graeme Rocher</dc:creator>
		<pubDate>Sat, 07 Jun 2008 10:02:39 +0000</pubDate>
		<guid isPermaLink="false">http://reverttoconsole.com/archives/194#comment-127</guid>
		<description>Also note the article (http://grails.org/Many-to-Many+Mapping+without+Hibernate+XML) is a tutorial written by a Grails user and not official documentation. You don&#039;t need to setup an OpenSessionInViewFilter, grails does this for you</description>
		<content:encoded><![CDATA[<p>Also note the article (<a href="http://grails.org/Many-to-Many+Mapping+without+Hibernate+XML" rel="nofollow">http://grails.org/Many-to-Many+Mapping+without+Hibernate+XML</a>) is a tutorial written by a Grails user and not official documentation. You don&#8217;t need to setup an OpenSessionInViewFilter, grails does this for you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graeme Rocher</title>
		<link>http://www.reverttoconsole.com/blog/grails/grails-manytomany-gorm-example/comment-page-1/#comment-126</link>
		<dc:creator>Graeme Rocher</dc:creator>
		<pubDate>Sat, 07 Jun 2008 10:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://reverttoconsole.com/archives/194#comment-126</guid>
		<description>class Person {

  static hasMany = [characteristics:Characteristic]

  ...
}

class Characteristic {

  static hasMany = [people:Person]
  static belongsTo = Person
  ...
}

Cheers
Graeme</description>
		<content:encoded><![CDATA[<p>class Person {</p>
<p>  static hasMany = [characteristics:Characteristic]</p>
<p>  &#8230;<br />
}</p>
<p>class Characteristic {</p>
<p>  static hasMany = [people:Person]<br />
  static belongsTo = Person<br />
  &#8230;<br />
}</p>
<p>Cheers<br />
Graeme</p>
]]></content:encoded>
	</item>
</channel>
</rss>

