<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: DML currently not allowed</title>
	<atom:link href="http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/feed/" rel="self" type="application/rss+xml" />
	<link>http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/</link>
	<description>A developer&#039;s view of Cloud Computing platforms &#38; technologies.</description>
	<lastBuildDate>Wed, 10 Apr 2013 20:11:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Simple solution &#124; vertibadev</title>
		<link>http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/#comment-1648</link>
		<dc:creator><![CDATA[Simple solution &#124; vertibadev]]></dc:creator>
		<pubDate>Thu, 22 Mar 2012 14:16:23 +0000</pubDate>
		<guid isPermaLink="false">http://developinthecloud.wordpress.com/?p=468#comment-1648</guid>
		<description><![CDATA[[...] Use at your own risk!!&#8211; there are reasons for why it is that way in the 1st place( http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/ ) Share this:TwitterFacebookLike this:LikeBe the first to like this [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Use at your own risk!!&#8211; there are reasons for why it is that way in the 1st place( <a href="http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/" rel="nofollow">http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/</a> ) Share this:TwitterFacebookLike this:LikeBe the first to like this [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Merrill</title>
		<link>http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/#comment-1599</link>
		<dc:creator><![CDATA[Chris Merrill]]></dc:creator>
		<pubDate>Thu, 08 Mar 2012 19:17:13 +0000</pubDate>
		<guid isPermaLink="false">http://developinthecloud.wordpress.com/?p=468#comment-1599</guid>
		<description><![CDATA[A great and very useful article.  Thanks for posting!]]></description>
		<content:encoded><![CDATA[<p>A great and very useful article.  Thanks for posting!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wes</title>
		<link>http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/#comment-1475</link>
		<dc:creator><![CDATA[Wes]]></dc:creator>
		<pubDate>Wed, 22 Feb 2012 13:12:17 +0000</pubDate>
		<guid isPermaLink="false">http://developinthecloud.wordpress.com/?p=468#comment-1475</guid>
		<description><![CDATA[No problem chuck!]]></description>
		<content:encoded><![CDATA[<p>No problem chuck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck Norris</title>
		<link>http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/#comment-1474</link>
		<dc:creator><![CDATA[Chuck Norris]]></dc:creator>
		<pubDate>Wed, 22 Feb 2012 13:10:17 +0000</pubDate>
		<guid isPermaLink="false">http://developinthecloud.wordpress.com/?p=468#comment-1474</guid>
		<description><![CDATA[thx for solution 2 - the action attribute solved it for me.]]></description>
		<content:encoded><![CDATA[<p>thx for solution 2 &#8211; the action attribute solved it for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NickM</title>
		<link>http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/#comment-1184</link>
		<dc:creator><![CDATA[NickM]]></dc:creator>
		<pubDate>Mon, 21 Nov 2011 16:27:53 +0000</pubDate>
		<guid isPermaLink="false">http://developinthecloud.wordpress.com/?p=468#comment-1184</guid>
		<description><![CDATA[Having exhausted my reportoire of rude words on situations 2 and 3 in my code, I thank you from the bottom of the swear box for this article. 

I would like to add, as this is the first helpful article in the google results (hello future readers, read xkcd) that some page load actions happen twice, especially where PDF rendering a page is concerned, so you will need to check if you&#039;ve done your action before.]]></description>
		<content:encoded><![CDATA[<p>Having exhausted my reportoire of rude words on situations 2 and 3 in my code, I thank you from the bottom of the swear box for this article. </p>
<p>I would like to add, as this is the first helpful article in the google results (hello future readers, read xkcd) that some page load actions happen twice, especially where PDF rendering a page is concerned, so you will need to check if you&#8217;ve done your action before.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rdehler</title>
		<link>http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/#comment-1162</link>
		<dc:creator><![CDATA[rdehler]]></dc:creator>
		<pubDate>Fri, 04 Nov 2011 16:49:18 +0000</pubDate>
		<guid isPermaLink="false">http://developinthecloud.wordpress.com/?p=468#comment-1162</guid>
		<description><![CDATA[
This worked for me.  Thanks!]]></description>
		<content:encoded><![CDATA[<p>This worked for me.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: d3developer</title>
		<link>http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/#comment-210</link>
		<dc:creator><![CDATA[d3developer]]></dc:creator>
		<pubDate>Fri, 19 Mar 2010 15:36:56 +0000</pubDate>
		<guid isPermaLink="false">http://developinthecloud.wordpress.com/?p=468#comment-210</guid>
		<description><![CDATA[&quot;Well it means that DML isn’t allowed. And that it’s not allowed right now, but with the slight promise that given time, it will be allowed. Often in the past, hoping against hope, I kept on pressing that button/link/onclick-area, but the cloud never changed it’s mind&quot;

This was me last night :)]]></description>
		<content:encoded><![CDATA[<p>&#8220;Well it means that DML isn’t allowed. And that it’s not allowed right now, but with the slight promise that given time, it will be allowed. Often in the past, hoping against hope, I kept on pressing that button/link/onclick-area, but the cloud never changed it’s mind&#8221;</p>
<p>This was me last night <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/#comment-168</link>
		<dc:creator><![CDATA[Mike]]></dc:creator>
		<pubDate>Thu, 11 Feb 2010 22:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://developinthecloud.wordpress.com/?p=468#comment-168</guid>
		<description><![CDATA[Wes, 

I&#039;ve been struggling this one for a while and appreciate someone else&#039;s frustration with it.  But you left out the &quot;best&quot; part (unless I missed the mention) - You cannot trap this exception at runtime.  Which makes writing your code to take an alternate path challenging.  We have created an ExceptionHandling.cls that logs unexpected errors to a custom object in order to notify a developer and for proactive defect tracking and resolution purposes.  So we get this &quot;DML currently not allowed&quot; error at runtime because of the exception logging.

I logged a case with Premier Tech Support on this issue hoping that it might become trappable in the future or to provide a list of areas that this exception may occur so we can avoid them. 

Thanks,
Mike]]></description>
		<content:encoded><![CDATA[<p>Wes, </p>
<p>I&#8217;ve been struggling this one for a while and appreciate someone else&#8217;s frustration with it.  But you left out the &#8220;best&#8221; part (unless I missed the mention) &#8211; You cannot trap this exception at runtime.  Which makes writing your code to take an alternate path challenging.  We have created an ExceptionHandling.cls that logs unexpected errors to a custom object in order to notify a developer and for proactive defect tracking and resolution purposes.  So we get this &#8220;DML currently not allowed&#8221; error at runtime because of the exception logging.</p>
<p>I logged a case with Premier Tech Support on this issue hoping that it might become trappable in the future or to provide a list of areas that this exception may occur so we can avoid them. </p>
<p>Thanks,<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fede l</title>
		<link>http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/#comment-120</link>
		<dc:creator><![CDATA[fede l]]></dc:creator>
		<pubDate>Fri, 04 Dec 2009 18:26:53 +0000</pubDate>
		<guid isPermaLink="false">http://developinthecloud.wordpress.com/?p=468#comment-120</guid>
		<description><![CDATA[You cant NOT update a user record and a data record in the same transaction, you will get a mixed dml statement, because a user record is treated as metadata]]></description>
		<content:encoded><![CDATA[<p>You cant NOT update a user record and a data record in the same transaction, you will get a mixed dml statement, because a user record is treated as metadata</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wes</title>
		<link>http://th3silverlining.com/2009/11/23/dml-currently-not-allowed/#comment-117</link>
		<dc:creator><![CDATA[Wes]]></dc:creator>
		<pubDate>Wed, 02 Dec 2009 09:19:56 +0000</pubDate>
		<guid isPermaLink="false">http://developinthecloud.wordpress.com/?p=468#comment-117</guid>
		<description><![CDATA[You&#039;re making me blush here! Glad I could be of service ma&#039;am.]]></description>
		<content:encoded><![CDATA[<p>You&#8217;re making me blush here! Glad I could be of service ma&#8217;am.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
