<?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 for ColdFused?</title>
	<atom:link href="http://www.rupeshk.org/blog/index.php/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rupeshk.org/blog</link>
	<description>My Views on ColdFusion, Java and related technologies</description>
	<lastBuildDate>Mon, 26 Jul 2010 14:26:19 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on ColdFusion ORM : The basics by Jim</title>
		<link>http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/comment-page-1/#comment-939</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Mon, 26 Jul 2010 14:26:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/#comment-939</guid>
		<description>Don,

It sound like you have a many-to-many relationship with a link table between volunteers and organizations.

I don&#039;t know the details, but this can be accomplished.  There is a type of &quot;many-to-many&quot; in your relationship types on the cfproperty tag.  Also, there is a linktable attribute that you use.  So I&#039;m pretty sure it can handle it, you just have to set it up.  Look up many-to-many relationships in the documentation.</description>
		<content:encoded><![CDATA[<p>Don,</p>
<p>It sound like you have a many-to-many relationship with a link table between volunteers and organizations.</p>
<p>I don&#8217;t know the details, but this can be accomplished.  There is a type of &#8220;many-to-many&#8221; in your relationship types on the cfproperty tag.  Also, there is a linktable attribute that you use.  So I&#8217;m pretty sure it can handle it, you just have to set it up.  Look up many-to-many relationships in the documentation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ColdFusion ORM : The basics by Don</title>
		<link>http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/comment-page-1/#comment-938</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Fri, 23 Jul 2010 19:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/#comment-938</guid>
		<description>After extensive googling I have come to the conclusion that ORM can not handle pivot tables.  Thus I still have to know SQL to work with a database and ORM is rapidly becoming useless to me.</description>
		<content:encoded><![CDATA[<p>After extensive googling I have come to the conclusion that ORM can not handle pivot tables.  Thus I still have to know SQL to work with a database and ORM is rapidly becoming useless to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ColdFusion ORM : The basics by Jim</title>
		<link>http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/comment-page-1/#comment-937</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Wed, 14 Jul 2010 13:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/#comment-937</guid>
		<description>The release notes are out for CF 9.0.1 and it does not seem to include a fix for passing null values from Flex to a CF ORM object that I mentioned Feb. 19, above.  Is there a fix for this?  Thanks.</description>
		<content:encoded><![CDATA[<p>The release notes are out for CF 9.0.1 and it does not seem to include a fix for passing null values from Flex to a CF ORM object that I mentioned Feb. 19, above.  Is there a fix for this?  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ColdFusion ORM : The basics by Don</title>
		<link>http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/comment-page-1/#comment-936</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Fri, 02 Jul 2010 23:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/#comment-936</guid>
		<description>How does ORM handle pivot tables?
I have a table with volunteers, a table of organizations, then a pivot table to match up volunteers to organizations. A volunteer can belong to more than 1 organization.
I&#039;m thinking I have to make an association from volunteers to pivot and pivot to organizations.  Should that work so that when I pull up a volunteer I will see all organizations they belong to and if I pull up an organization I will see all volunteers for that org?</description>
		<content:encoded><![CDATA[<p>How does ORM handle pivot tables?<br />
I have a table with volunteers, a table of organizations, then a pivot table to match up volunteers to organizations. A volunteer can belong to more than 1 organization.<br />
I&#8217;m thinking I have to make an association from volunteers to pivot and pivot to organizations.  Should that work so that when I pull up a volunteer I will see all organizations they belong to and if I pull up an organization I will see all volunteers for that org?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Thread dumps&#8230; by Holentoker</title>
		<link>http://www.rupeshk.org/blog/index.php/2005/11/thread-dumps/comment-page-1/#comment-932</link>
		<dc:creator>Holentoker</dc:creator>
		<pubDate>Tue, 29 Jun 2010 23:24:31 +0000</pubDate>
		<guid isPermaLink="false">http://rupesh106.wordpress.com/2005/11/24/thread-dumps/#comment-932</guid>
		<description>Please visit &lt;a href=&quot;http://onlinefinearts.info&quot; rel=&quot;nofollow&quot;&gt;Online Fine Arts&lt;/a&gt; site</description>
		<content:encoded><![CDATA[<p>Please visit <a href="http://onlinefinearts.info" rel="nofollow">Online Fine Arts</a> site</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ColdFusion ORM : The basics by Rupesh Kumar</title>
		<link>http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/comment-page-1/#comment-921</link>
		<dc:creator>Rupesh Kumar</dc:creator>
		<pubDate>Mon, 21 Jun 2010 14:59:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/#comment-921</guid>
		<description>Shawn, sorry for the delay in reply. 
If you have set cascade=&quot;save-update&quot; or &quot;all&quot; on the one-to-many relationship, then the EntitySave call on the parent will automatically be cascaded to the child objects. If there is no cascade defined, then you need to call EntitySave on the child objects as well.

p.s : In case you are not aware, there is a google group for CF-ORM at http://groups.google.com/group/cf-orm-dev/ which is quite active and you can ask all your ORM related questions there as well.</description>
		<content:encoded><![CDATA[<p>Shawn, sorry for the delay in reply.<br />
If you have set cascade=&#8221;save-update&#8221; or &#8220;all&#8221; on the one-to-many relationship, then the EntitySave call on the parent will automatically be cascaded to the child objects. If there is no cascade defined, then you need to call EntitySave on the child objects as well.</p>
<p>p.s : In case you are not aware, there is a google group for CF-ORM at <a href="http://groups.google.com/group/cf-orm-dev/" rel="nofollow">http://groups.google.com/group/cf-orm-dev/</a> which is quite active and you can ask all your ORM related questions there as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CFBuilder tip : TailView can kill server performance by Success</title>
		<link>http://www.rupeshk.org/blog/index.php/2010/05/cfbuilder-tip-tailview-can-kill-server-performance/comment-page-1/#comment-919</link>
		<dc:creator>Success</dc:creator>
		<pubDate>Wed, 09 Jun 2010 05:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.rupeshk.org/blog/?p=281#comment-919</guid>
		<description>Hello from Vyatka River!!! Thank you for information! Itґs a good idea for next full revision... 
Write more!!! :)))</description>
		<content:encoded><![CDATA[<p>Hello from Vyatka River!!! Thank you for information! Itґs a good idea for next full revision&#8230;<br />
Write more!!! <img src='http://www.rupeshk.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ))</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ColdFusion ORM : The basics by Shawn</title>
		<link>http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/comment-page-1/#comment-918</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Tue, 08 Jun 2010 12:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/#comment-918</guid>
		<description>Hi Rupesh,

Quick question.... if I have the one-to-many mappings done with inverse set on the child object in the parent, shouldn&#039;t I just be able to do an entitysave on the parent object and let ORM take care of saving the children objects ?    Or do I have to save each child entity separately ?

For example...

cust = EntityNew(&quot;Customer&quot;);
cust.firstname =&#039;Ted&#039;;
cust.lastname=&quot;Williams&#039;;
item1=EntityNew(&quot;Item&quot;);
item1.name=&#039;boots&#039;;

item1.setCust(cust);
cust.addItem(item1);

item2=EntityNew(&quot;Item&quot;);
item2.name=&#039;hat&#039;;

item2.setCust(cust);
cust.addItem(item2);


EntitySave(cust);   
// Will this persist the cust along with the related items to the database ,   or do I have to do a seperate entitysave for each item as well ?</description>
		<content:encoded><![CDATA[<p>Hi Rupesh,</p>
<p>Quick question&#8230;. if I have the one-to-many mappings done with inverse set on the child object in the parent, shouldn&#8217;t I just be able to do an entitysave on the parent object and let ORM take care of saving the children objects ?    Or do I have to save each child entity separately ?</p>
<p>For example&#8230;</p>
<p>cust = EntityNew(&#8221;Customer&#8221;);<br />
cust.firstname =&#8217;Ted&#8217;;<br />
cust.lastname=&#8221;Williams&#8217;;<br />
item1=EntityNew(&#8221;Item&#8221;);<br />
item1.name=&#8217;boots&#8217;;</p>
<p>item1.setCust(cust);<br />
cust.addItem(item1);</p>
<p>item2=EntityNew(&#8221;Item&#8221;);<br />
item2.name=&#8217;hat&#8217;;</p>
<p>item2.setCust(cust);<br />
cust.addItem(item2);</p>
<p>EntitySave(cust);<br />
// Will this persist the cust along with the related items to the database ,   or do I have to do a seperate entitysave for each item as well ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ColdFusion ORM : The basics by Rupesh Kumar</title>
		<link>http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/comment-page-1/#comment-915</link>
		<dc:creator>Rupesh Kumar</dc:creator>
		<pubDate>Mon, 31 May 2010 07:34:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/#comment-915</guid>
		<description>Couple of options
- EntityLoad(&#039;Artist&#039;, {lastName=&quot;blahblah&quot;});
- ORMExecuteQuery(&quot;from Artist where lastName=?&quot;, [lastName]);

Check the documents for EntityLoad and ORMExecuteQuery.</description>
		<content:encoded><![CDATA[<p>Couple of options<br />
- EntityLoad(&#8217;Artist&#8217;, {lastName=&#8221;blahblah&#8221;});<br />
- ORMExecuteQuery(&#8221;from Artist where lastName=?&#8221;, [lastName]);</p>
<p>Check the documents for EntityLoad and ORMExecuteQuery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ColdFusion ORM : The basics by Don</title>
		<link>http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/comment-page-1/#comment-913</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Thu, 27 May 2010 22:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.rupeshk.org/blog/index.php/2009/07/coldfusion-orm-the-basics/#comment-913</guid>
		<description>How do I do something like get an artist by last name?</description>
		<content:encoded><![CDATA[<p>How do I do something like get an artist by last name?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
