<?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: Querying associations in Grails with HQL, Criteria and HibernateCriteriaBuilder</title>
	<atom:link href="http://blog.xebia.com/2008/06/04/querying-associations-in-grails-with-hql-criteria-and-hibernatecriteriabuilder/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.xebia.com/2008/06/04/querying-associations-in-grails-with-hql-criteria-and-hibernatecriteriabuilder/</link>
	<description>Software development done right!</description>
	<lastBuildDate>Wed, 08 Feb 2012 14:41:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Querying associations in Grails with HQL, Criteria and HibernateCriteriaBuilder - Grails query associations</title>
		<link>http://blog.xebia.com/2008/06/04/querying-associations-in-grails-with-hql-criteria-and-hibernatecriteriabuilder/#comment-96538</link>
		<dc:creator>Querying associations in Grails with HQL, Criteria and HibernateCriteriaBuilder - Grails query associations</dc:creator>
		<pubDate>Tue, 21 Sep 2010 03:19:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=582#comment-96538</guid>
		<description>[...] Click here for Detail        &#160; [...]</description>
		<content:encoded><![CDATA[<p>[...] Click here for Detail        &nbsp; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Leipzig</title>
		<link>http://blog.xebia.com/2008/06/04/querying-associations-in-grails-with-hql-criteria-and-hibernatecriteriabuilder/#comment-91547</link>
		<dc:creator>Jeremy Leipzig</dc:creator>
		<pubDate>Wed, 15 Apr 2009 20:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=582#comment-91547</guid>
		<description>how do you add multiple distinct fields?</description>
		<content:encoded><![CDATA[<p>how do you add multiple distinct fields?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pam</title>
		<link>http://blog.xebia.com/2008/06/04/querying-associations-in-grails-with-hql-criteria-and-hibernatecriteriabuilder/#comment-77680</link>
		<dc:creator>Pam</dc:creator>
		<pubDate>Tue, 27 Jan 2009 21:16:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=582#comment-77680</guid>
		<description>In a grails controller, you can also use DomanObject.executeQuery()

Documented here:
http://grails.org/doc/1.0.x/ref/Domain%20Classes/executeQuery.html</description>
		<content:encoded><![CDATA[<p>In a grails controller, you can also use DomanObject.executeQuery()</p>
<p>Documented here:<br />
<a href="http://grails.org/doc/1.0.x/ref/Domain%20Classes/executeQuery.html" rel="nofollow">http://grails.org/doc/1.0.x/ref/Domain%20Classes/executeQuery.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rogério Carrasqueira</title>
		<link>http://blog.xebia.com/2008/06/04/querying-associations-in-grails-with-hql-criteria-and-hibernatecriteriabuilder/#comment-72934</link>
		<dc:creator>Rogério Carrasqueira</dc:creator>
		<pubDate>Sat, 03 Jan 2009 00:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=582#comment-72934</guid>
		<description>Hi, how can you do to render the results on a gsp file, for example using ?

Thanks,

Rogério Carrasqueira</description>
		<content:encoded><![CDATA[<p>Hi, how can you do to render the results on a gsp file, for example using ?</p>
<p>Thanks,</p>
<p>Rogério Carrasqueira</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Pragt</title>
		<link>http://blog.xebia.com/2008/06/04/querying-associations-in-grails-with-hql-criteria-and-hibernatecriteriabuilder/#comment-53652</link>
		<dc:creator>Erik Pragt</dc:creator>
		<pubDate>Wed, 17 Sep 2008 19:55:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=582#comment-53652</guid>
		<description>Hi Puran,

Like I described, it&#039;s an implicit variable in the console. If you&#039;re running tests, and your tests are &#039;normal&#039; unit tests (so no integration) than my guess is that they are not there. 

Have you tried the console?</description>
		<content:encoded><![CDATA[<p>Hi Puran,</p>
<p>Like I described, it&#8217;s an implicit variable in the console. If you&#8217;re running tests, and your tests are &#8216;normal&#8217; unit tests (so no integration) than my guess is that they are not there. </p>
<p>Have you tried the console?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: puran</title>
		<link>http://blog.xebia.com/2008/06/04/querying-associations-in-grails-with-hql-criteria-and-hibernatecriteriabuilder/#comment-53559</link>
		<dc:creator>puran</dc:creator>
		<pubDate>Tue, 16 Sep 2008 19:35:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=582#comment-53559</guid>
		<description>i am not sure where is that ctx coming from??
i get not defined exception, actually i am trying to use that in my tests.</description>
		<content:encoded><![CDATA[<p>i am not sure where is that ctx coming from??<br />
i get not defined exception, actually i am trying to use that in my tests.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://blog.xebia.com/2008/06/04/querying-associations-in-grails-with-hql-criteria-and-hibernatecriteriabuilder/#comment-45787</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Tue, 17 Jun 2008 22:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=582#comment-45787</guid>
		<description>For grailstutorials.com I used &#039;act as taggable&#039; plugin.
Inner implementation of this plugin will actually create two tables.
Tag table
Tagging table with important columns tagId, taggableType (actually class name of tagged domain object).

I prefer this approach because I don&#039;t need tag field in my domain classes but I can tag them.

Another advantage is that querying tag cloud from the database is easier at least from my point of view.

Tagging.executeQuery(&quot;select distinct t.tag.name, count(t.tag.id) from Tagging t where t.taggableType=? group by t.tag.id&quot;

Jan</description>
		<content:encoded><![CDATA[<p>For grailstutorials.com I used &#8216;act as taggable&#8217; plugin.<br />
Inner implementation of this plugin will actually create two tables.<br />
Tag table<br />
Tagging table with important columns tagId, taggableType (actually class name of tagged domain object).</p>
<p>I prefer this approach because I don&#8217;t need tag field in my domain classes but I can tag them.</p>
<p>Another advantage is that querying tag cloud from the database is easier at least from my point of view.</p>
<p>Tagging.executeQuery(&#8220;select distinct t.tag.name, count(t.tag.id) from Tagging t where t.taggableType=? group by t.tag.id&#8221;</p>
<p>Jan</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  blog.xebia.com/2008/06/04/querying-associations-in-grails-with-hql-criteria-and-hibernatecriteriabuilder/feed/ ) in 0.42316 seconds, on Feb 9th, 2012 at 10:37 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 9th, 2012 at 11:37 pm UTC -->
