<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Performing a LEFT OUTER JOIN using JPQL and JPA</title>
	<atom:link href="http://depressedprogrammer.wordpress.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/feed/" rel="self" type="application/rss+xml" />
	<link>http://depressedprogrammer.wordpress.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/</link>
	<description>Because programming is depressing</description>
	<lastBuildDate>Thu, 05 Nov 2009 23:29:15 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michel Ganguin</title>
		<link>http://depressedprogrammer.wordpress.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-1045</link>
		<dc:creator>Michel Ganguin</dc:creator>
		<pubDate>Thu, 05 Nov 2009 23:29:15 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-1045</guid>
		<description>I meant:
SELECT * FROM nba_player p LEFT OUTER JOIN shoe_company s ON (p.shoecompany_id = s.id AND s.name &lt;&gt; ‘hiddencompany’)</description>
		<content:encoded><![CDATA[<p>I meant:<br />
SELECT * FROM nba_player p LEFT OUTER JOIN shoe_company s ON (p.shoecompany_id = s.id AND s.name &lt;&gt; ‘hiddencompany’)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michel Ganguin</title>
		<link>http://depressedprogrammer.wordpress.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-1044</link>
		<dc:creator>Michel Ganguin</dc:creator>
		<pubDate>Thu, 05 Nov 2009 23:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-1044</guid>
		<description>Is it possible to make more complex joins with jpql? lets say there can be a hidden company:

SELECT * FROM nba_player p LEFT OUTER JOIN shoe_company s ON (p.shoecompany_id = s.id AND s.name  &#039;hiddencompany&#039;)

but I still want to see all nba_player in the result, those with shoe_company &#039;hiddencompany&#039; set to null.

Is it possible to express this in jpql?</description>
		<content:encoded><![CDATA[<p>Is it possible to make more complex joins with jpql? lets say there can be a hidden company:</p>
<p>SELECT * FROM nba_player p LEFT OUTER JOIN shoe_company s ON (p.shoecompany_id = s.id AND s.name  &#8216;hiddencompany&#8217;)</p>
<p>but I still want to see all nba_player in the result, those with shoe_company &#8216;hiddencompany&#8217; set to null.</p>
<p>Is it possible to express this in jpql?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salma Hanif</title>
		<link>http://depressedprogrammer.wordpress.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-866</link>
		<dc:creator>Salma Hanif</dc:creator>
		<pubDate>Thu, 07 May 2009 07:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-866</guid>
		<description>org.hibernate.QueryException: could not resolve property: TicketStatus of: org.domain.supportadmin.entity.Tickets [select  tList from org.domain.supportadmin.entity.Tickets tList  join tList.TicketStatus  tstatus where lower(tList.message) like &#039;%%&#039;or lower(tList.submitter) like &#039;%%&#039;or lower(tList.email) like &#039;%%&#039;or lower(tList.phone) like &#039;%%&#039;or lower(tList.owner) like &#039;%%&#039;]</description>
		<content:encoded><![CDATA[<p>org.hibernate.QueryException: could not resolve property: TicketStatus of: org.domain.supportadmin.entity.Tickets [select  tList from org.domain.supportadmin.entity.Tickets tList  join tList.TicketStatus  tstatus where lower(tList.message) like '%%'or lower(tList.submitter) like '%%'or lower(tList.email) like '%%'or lower(tList.phone) like '%%'or lower(tList.owner) like '%%']</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salma Hanif</title>
		<link>http://depressedprogrammer.wordpress.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-865</link>
		<dc:creator>Salma Hanif</dc:creator>
		<pubDate>Thu, 07 May 2009 07:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-865</guid>
		<description>This example is not working.I need to implement ManyToOne. Can anyone help me in this ?</description>
		<content:encoded><![CDATA[<p>This example is not working.I need to implement ManyToOne. Can anyone help me in this ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon</title>
		<link>http://depressedprogrammer.wordpress.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-860</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Thu, 16 Apr 2009 19:59:09 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-860</guid>
		<description>Have you tried &lt;a&gt;www.searchjava.org&lt;/a&gt;? Is a Google custom search to refine the search. I found great results...</description>
		<content:encoded><![CDATA[<p>Have you tried <a>http://www.searchjava.org</a>? Is a Google custom search to refine the search. I found great results&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michail</title>
		<link>http://depressedprogrammer.wordpress.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-837</link>
		<dc:creator>Michail</dc:creator>
		<pubDate>Tue, 17 Feb 2009 08:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-837</guid>
		<description>The author writes: 

This sql query:
&quot;SELECT * FROM nba_player p, shoe_company s  WHERE p.shoecompany_id = s.id or p.shoecompany_id IS NULL&quot;

is the same as this sql query:
&quot;SELECT *  FROM nba_player p LEFT OUTER JOIN  shoe_company s  ON (p.shoecompany_id = s.id)&quot;.

It is a mistake: the first query will repeat p (where shoecompany_id IS NULL) whith every company in show company dtable while the second query will generate only one record for such a player.</description>
		<content:encoded><![CDATA[<p>The author writes: </p>
<p>This sql query:<br />
&#8220;SELECT * FROM nba_player p, shoe_company s  WHERE p.shoecompany_id = s.id or p.shoecompany_id IS NULL&#8221;</p>
<p>is the same as this sql query:<br />
&#8220;SELECT *  FROM nba_player p LEFT OUTER JOIN  shoe_company s  ON (p.shoecompany_id = s.id)&#8221;.</p>
<p>It is a mistake: the first query will repeat p (where shoecompany_id IS NULL) whith every company in show company dtable while the second query will generate only one record for such a player.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [JPA] Join i warunek zczenia - Strona 2 &#124; hilpers</title>
		<link>http://depressedprogrammer.wordpress.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-830</link>
		<dc:creator>[JPA] Join i warunek zczenia - Strona 2 &#124; hilpers</dc:creator>
		<pubDate>Sun, 18 Jan 2009 15:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-830</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjeev Kulkarni</title>
		<link>http://depressedprogrammer.wordpress.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-805</link>
		<dc:creator>Sanjeev Kulkarni</dc:creator>
		<pubDate>Tue, 04 Nov 2008 04:48:43 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-805</guid>
		<description>Thanks a lot...</description>
		<content:encoded><![CDATA[<p>Thanks a lot&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://depressedprogrammer.wordpress.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-514</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Fri, 18 Apr 2008 17:35:43 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-514</guid>
		<description>Thank you for the easy to follow example. My situation, however, is a bit more complex. I’m joining on dates and in the first table, the date is represented as an integer (yyyyMMdd) and in the second, as a date field.

I’ve tried everything including using the getter/setter methods to convert the Date to a Long and back, but I always get a “java.sql.SQLException: [SQL0401] Comparison operator = operands not compatible.” as the SQL it generates seems to be be comparing the data types as they’re stored in the database and I’m not sure how to get JPA/Toplink to do otherwise.</description>
		<content:encoded><![CDATA[<p>Thank you for the easy to follow example. My situation, however, is a bit more complex. I’m joining on dates and in the first table, the date is represented as an integer (yyyyMMdd) and in the second, as a date field.</p>
<p>I’ve tried everything including using the getter/setter methods to convert the Date to a Long and back, but I always get a “java.sql.SQLException: [SQL0401] Comparison operator = operands not compatible.” as the SQL it generates seems to be be comparing the data types as they’re stored in the database and I’m not sure how to get JPA/Toplink to do otherwise.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://depressedprogrammer.wordpress.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-506</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 21 Jan 2008 02:34:50 +0000</pubDate>
		<guid isPermaLink="false">http://arsenalist.com/2007/11/20/performing-a-left-outer-join-using-jpql-and-jpa/#comment-506</guid>
		<description>Great Left Outer Join Example, Thank you!</description>
		<content:encoded><![CDATA[<p>Great Left Outer Join Example, Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
