<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : FetchStrategy for StoredProcQuery must be DatasourceOnly</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : FetchStrategy for StoredProcQuery must be DatasourceOnly</description>
  <pubDate>Tue, 12 May 2026 23:24:33 -700</pubDate>
  <lastBuildDate>Wed, 14 Nov 2012 15:36:26 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=3743</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>FetchStrategy for StoredProcQuery must be DatasourceOnly :    </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15200#15200</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=957" rel="nofollow">hijaggu</a><br /><strong>Subject:</strong> 3743<br /><strong>Posted:</strong> 14-Nov-2012 at 3:36pm<br /><br /><br>]]>
   </description>
   <pubDate>Wed, 14 Nov 2012 15:36:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15200#15200</guid>
  </item> 
  <item>
   <title>FetchStrategy for StoredProcQuery must be DatasourceOnly :   I was not able to reproduce...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15191#15191</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3743<br /><strong>Posted:</strong> 13-Nov-2012 at 10:52am<br /><br />I was not able to reproduce the issue.<div>&nbsp;</div><div>We will need a solution that reproduces the issue, (even if&nbsp;sporadically) so we can further investigate. </div><div>&nbsp;</div><div>Like I previously mentioned, we do not change the fetch strategy of the stored procedure within DevForce code, so there is a high possibility that there is something particular about your code that might be causing it.</div><div>&nbsp;</div><div>Once we have a solution that shows the problem, then we can determine the cause.</div><div>&nbsp;</div><div>sbelini.</div>]]>
   </description>
   <pubDate>Tue, 13 Nov 2012 10:52:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15191#15191</guid>
  </item> 
  <item>
   <title>FetchStrategy for StoredProcQuery must be DatasourceOnly : Hi sbelini,Any update on this...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15188#15188</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=957" rel="nofollow">hijaggu</a><br /><strong>Subject:</strong> 3743<br /><strong>Posted:</strong> 13-Nov-2012 at 10:25am<br /><br />Hi <span id="userPro15153" ="msgSidePro" title="View Drop Down">sbelini,<br><br>Any update on this issue. Are you able to reproduce it?</span><span id="userPro15153" ="msgSidePro" title="View Drop Down"></span>]]>
   </description>
   <pubDate>Tue, 13 Nov 2012 10:25:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15188#15188</guid>
  </item> 
  <item>
   <title>FetchStrategy for StoredProcQuery must be DatasourceOnly :   Thanks for the snippet. We...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15153#15153</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3743<br /><strong>Posted:</strong> 08-Nov-2012 at 11:18am<br /><br /><div>&nbsp;</div><div>Thanks for the snippet. </div><div>We will use it in an attempt to reproduce the problem to further investigate this.</div><div>&nbsp;</div><div>&nbsp;</div><div>You asked:</div><em>1)&nbsp; Why would a Stored Procedure ever need to be told “DataSourceOnly” ?</em><div>&nbsp;</div><div>It would never need to be told DataSourceOnly unless explicitly modified previously.</div><div></div><div></div> <em>2)&nbsp; Why would the :Execute() not obey an explicit setting of the .FetchStrategy to “DataSourceOnly”</em><div>&nbsp;</div><div>It should not disobey the explicit DataSourceOnly setting. The only possible scenario we could foresee was if you were working with multi threads, which is explained in the next response.</div><div>&nbsp;</div><div>&nbsp;</div><div><em>3)&nbsp; As you can see we are neither accessing nor changing any Entity Manager data or settings.&nbsp; We are only executing a stored procedure in the current thread.&nbsp; How could this be affected by background thread operations?</em></div><div>&nbsp;</div><div>Our hypothesis is that working with the EntityManager across threads could cause this unexpected behavior. </div><div>The EntityManager is NOT thread safe and should never be used in such way. (<a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/entitymanager-not-thread-safe" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/entitymanager-not-thread-safe</a>)</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 08 Nov 2012 11:18:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15153#15153</guid>
  </item> 
  <item>
   <title>FetchStrategy for StoredProcQuery must be DatasourceOnly :      Normal   0       ...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15137#15137</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=957" rel="nofollow">hijaggu</a><br /><strong>Subject:</strong> 3743<br /><strong>Posted:</strong> 07-Nov-2012 at 4:42pm<br /><br /><!--if gte mso 9> <w:Word>  <w:View>Normal</w:View>  <w:Zoom>0</w:Zoom>  <w:TrackMoves/>  <w:Trackatting/>  <w:Punctuati&#111;nKerning/>  <w:ValidateAgainstSchemas/>  <w:SaveIfInvalid>false</w:SaveIfInvalid>  <w:IgnoreMixed>false</w:IgnoreMixed>  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>  <w:D&#111;notPromoteQF/>  <w:LidThemeOther>EN-US</w:LidThemeOther>  <w:LidThemeAsian>X-NONE</w:LidThemeAsian>  <w:LidThemeComplex>X-NONE</w:LidThemeComplex>  <w:Compatibility>   <w:BreakWrappedTables/>   <w:SnapToGridInCell/>   <w:WrapTextWithPunct/>   <w:UseAsianBreakRules/>   <w:D&#111;ntGrowAutofit/>   <w:SplitPgBreakAndark/>   <w:D&#111;ntVertAlignCellWithSp/>   <w:D&#111;ntBreakC&#111;nstrainedForcedTables/>   <w:D&#111;ntVertAlignInTxbx/>   <w:Word11KerningPairs/>   <w:CachedColBalance/>  </w:Compatibility>  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>  <m:mathPr>   <m:mathFont m:val="Cambria Math"/>   <m:brkBin m:val="before"/>   <m:brkBinSub m:val="&amp;#45;-"/>   <m:smallFrac m:val="off"/>   <m:dispDef/>   <m:lMargin m:val="0"/>   <m:rMargin m:val="0"/>   <m:defJc m:val="centerGroup"/>   <m:wrapIndent m:val="1440"/>   <m:intLim m:val="subSup"/>   <m:naryLim m:val="undOvr"/>  </m:mathPr></w:Word><!--><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:  5.1pt;:#FBFBFD"><span style="font-size:6.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;  color:black">&nbsp;</span></p><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:  5.1pt;:#FBFBFD"><span style="font-size:6.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;  color:black">NO, this code is <b style="mso-bidi-font-weight:normal">not</b>being run in a background worker or service.<span style="mso-spacerun:yes">&nbsp;</span></span></p><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:  5.1pt;:#FBFBFD"><span style="font-size:6.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;  color:black">It is directly executed as the result of a button click on the UI.</span></p><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:  5.1pt;:#FBFBFD"><span style="font-size:6.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;  color:black">&nbsp;</span></p><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:  5.1pt;:#FBFBFD"><span style="font-size:6.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;  color:black">Here is a complete sample of the code.<span style="mso-spacerun:yes">&nbsp; </span></span></p><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:  5.1pt;:#FBFBFD"><span style="font-size:6.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;  color:black">&nbsp;</span></p><p ="Ms&#111;normal" style="margin-bottom:0in;margin-bottom:.0001pt;mso-line-height-alt:  5.1pt;:#FBFBFD"><span style="font-size:6.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-bidi-font-family:&quot;Times New Roman&quot;;  color:black">&nbsp;</span></p><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:6.5pt;  font-family:C&#111;nsolas;color:#2B91AF">StoredProcQuery</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;queryGetEntityLock&nbsp;=&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:#2B91AF">VisiTrackEntityManager</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">.Instance.GetEntityLockQuery&nbsp;(&nbsp;pObjectId&nbsp;);</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black"> </span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:green">//&nbsp;Reduntant&nbsp;just&nbsp;to&nbsp;make&nbsp;sure..&nbsp;&nbsp;Should&nbsp;default&nbsp;to&nbsp;the&nbsp;EM&nbsp;upon&nbsp;which&nbsp;it&nbsp;was&nbsp;created.</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black"></span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;queryGetEntityLock.EntityManager&nbsp;=&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:#2B91AF">VisiTrackEntityManager</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">.Instance;</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black"> </span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:green">//&nbsp;Explicitly&nbsp;making&nbsp;sure&nbsp;that&nbsp;we&nbsp;are&nbsp;"DataSourceOnly"</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:green">//&nbsp;</span><b style="mso-bidi-font-weight:normal"><span style="font-size:7.5pt;mso-bidi-font-size:  6.5pt;font-family:C&#111;nsolas;color:green">Why&nbsp;would&nbsp;a&nbsp;server&nbsp;stored&nbsp;procedure&nbsp;ever&nbsp;do&nbsp;otherwise???<span style="mso-spacerun:yes">&nbsp; </span>How could it?</span></b><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:green"></span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;queryGetEntityLock.QueryStrategy&nbsp;=&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:blue">new</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:#2B91AF">QueryStrategy</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">(</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:#2B91AF">FetchStrategy</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">.DataSourceOnly, </span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:#2B91AF">MergeStrategy</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">.OverwriteChanges);</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black"> </span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:green">//&nbsp;Just&nbsp;making&nbsp;sure..&nbsp;&nbsp;Yep,&nbsp;of&nbsp;course&nbsp;it&nbsp;is...</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black"></span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:6.5pt;  font-family:C&#111;nsolas;color:#2B91AF">FPLogger</span><span style="font-size:6.5pt;  font-family:C&#111;nsolas;color:black">.WriteTrace(</span><span style="font-size:  6.5pt;font-family:C&#111;nsolas;color:#A31515">"Fetch&nbsp;Strategy:"</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;+&nbsp;queryGetEntityLock.QueryStrategy.FetchStrategy,&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:#2B91AF">LogEventType</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">.Database);</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:6.5pt;  font-family:C&#111;nsolas;color:#2B91AF">IEnumerable</span><span style="font-size:  6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;enumLock&nbsp;=&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:blue">null</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">;</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black"> </span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:blue">try</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black"></span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;{</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:green">//&nbsp;<b style="mso-bidi-font-weight:normal">Execute the stored procedure</b></span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black"></span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enumLock&nbsp;=&nbsp;queryGetEntityLock.Execute();</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;}</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:6.5pt;  font-family:C&#111;nsolas;color:blue">catch</span><span style="font-size:6.5pt;  font-family:C&#111;nsolas;color:black">&nbsp;(</span><span style="font-size:6.5pt;  font-family:C&#111;nsolas;color:#2B91AF">Exception</span><span style="font-size:  6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;ex)</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;{</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black"> </span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:green">//&nbsp;</span><b style="mso-bidi-font-weight:normal"><span style="font-size:7.5pt;mso-bidi-font-size:  6.5pt;font-family:C&#111;nsolas;color:green">Here&nbsp;we&nbsp;get&nbsp;an&nbsp;error!</span></b><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black"></span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:green">//&nbsp;<i style="mso-bidi-font-style:normal">“</i></span><b style="mso-bidi-font-weight:  normal"><i style="mso-bidi-font-style:normal"><span style="font-size:8.0pt;  mso-bidi-font-size:6.5pt;font-family:C&#111;nsolas;color:green">FetchStrategy&nbsp;for&nbsp;StoredProcQuery&nbsp;must&nbsp;be&nbsp;DatasourceOnly.”</span></i></b><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black"></span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black"> </span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:#2B91AF">FPLogger</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">.WriteException(ex,&nbsp;</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:#2B91AF">LogEventType</span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">.Database);</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;&nbsp;&nbsp;&nbsp;}</span></pre><pre style=":white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;  color:black">&nbsp;</span></pre><pre style="tab-stops:.25in .5in 45.8pt .75in 67.5pt 81.0pt 91.6pt 1.5in 121.5pt 137.4pt 2.25in 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;  :white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;</span></pre><pre style="tab-stops:.25in .5in 45.8pt .75in 67.5pt 81.0pt 91.6pt 1.5in 121.5pt 137.4pt 2.25in 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;  :white"><b style="mso-bidi-font-weight:normal"><u><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">Questions:</span></u></b></pre><pre style="margin-left:.5in;tab-stops:.25in .5in 45.8pt .75in 67.5pt 81.0pt 91.6pt 1.5in 121.5pt 137.4pt 2.25in 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;  :white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;</span></pre><pre style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1;tab-stops:  .25in 31.5pt .5in 45.8pt .75in 63.0pt 67.5pt 81.0pt 91.6pt 1.5in 121.5pt 1.75in 137.4pt 153.0pt 2.25in 171.0pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;  :white"><span style="font-size:6.5pt;font-family:  C&#111;nsolas;mso-fareast-font-family:C&#111;nsolas;color:black"><span style="mso-list:  Ignore">1)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp; </span></span></span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">Why would a Stored Procedure ever need to be told “DataSourceOnly” ?</span></pre><pre style="margin-left:.5in;tab-stops:.25in 31.5pt .5in 45.8pt .75in 63.0pt 67.5pt 81.0pt 91.6pt 1.5in 121.5pt 1.75in 137.4pt 153.0pt 2.25in 171.0pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;  :white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;</span></pre><pre style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1;tab-stops:  .25in 31.5pt .5in 45.8pt .75in 63.0pt 67.5pt 81.0pt 91.6pt 1.5in 121.5pt 1.75in 137.4pt 153.0pt 2.25in 171.0pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;  :white"><span style="font-size:6.5pt;font-family:  C&#111;nsolas;mso-fareast-font-family:C&#111;nsolas;color:black"><span style="mso-list:  Ignore">2)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp; </span></span></span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">Why would the :Execute() not obey an explicit setting of the .FetchStrategy to “DataSourceOnly”</span></pre><pre style="margin-left:.5in;tab-stops:.25in 31.5pt .5in 45.8pt .75in 63.0pt 67.5pt 81.0pt 91.6pt 1.5in 121.5pt 1.75in 137.4pt 153.0pt 2.25in 171.0pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;  :white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">&nbsp;</span></pre><pre style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1;tab-stops:  .25in 31.5pt .5in 45.8pt .75in 63.0pt 67.5pt 81.0pt 91.6pt 1.5in 121.5pt 1.75in 137.4pt 153.0pt 2.25in 171.0pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;  :white"><span style="font-size:6.5pt;font-family:  C&#111;nsolas;mso-fareast-font-family:C&#111;nsolas;color:black"><span style="mso-list:  Ignore">3)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp; </span></span></span><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">As you can see we are neither accessing nor changing any Entity Manager data or settings.<span style="mso-spacerun:yes">&nbsp; </span></span></pre><pre style="margin-left:.5in;tab-stops:.25in 31.5pt .5in 45.8pt .75in 63.0pt 67.5pt 81.0pt 91.6pt 1.5in 121.5pt 1.75in 137.4pt 153.0pt 2.25in 171.0pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;  :white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">We are only executing a stored procedure in the current thread.<span style="mso-spacerun:yes">&nbsp; </span></span></pre><pre style="margin-left:.5in;tab-stops:.25in 31.5pt .5in 45.8pt .75in 63.0pt 67.5pt 81.0pt 91.6pt 1.5in 121.5pt 1.75in 137.4pt 153.0pt 2.25in 171.0pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;  :white"><span style="font-size:6.5pt;font-family:C&#111;nsolas;color:black">How could this be affected by background thread operations?</span></pre><!--if gte mso 9> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"    DefSemi="true" DefQat="false" DefPriority="99"    LatentStyleCount="267">  <w:LsdExcepti&#111;n Locked="false" Priority="0" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Normal"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="ing 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 7"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 8"/>  <w:LsdExcepti&#111;n Locked="false" Priority="9" Qat="true" Name="ing 9"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 7"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 8"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Name="toc 9"/>  <w:LsdExcepti&#111;n Locked="false" Priority="35" Qat="true" Name="capti&#111;n"/>  <w:LsdExcepti&#111;n Locked="false" Priority="10" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Title"/>  <w:LsdExcepti&#111;n Locked="false" Priority="1" Name="Default Paragraph Font"/>  <w:LsdExcepti&#111;n Locked="false" Priority="11" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtitle"/>  <w:LsdExcepti&#111;n Locked="false" Priority="22" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Str&#111;ng"/>  <w:LsdExcepti&#111;n Locked="false" Priority="20" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="59" Semi="false"     UnhideWhenUsed="false" Name="Table Grid"/>  <w:LsdExcepti&#111;n Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>  <w:LsdExcepti&#111;n Locked="false" Priority="1" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="No Spacing"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" UnhideWhenUsed="false" Name="Revisi&#111;n"/>  <w:LsdExcepti&#111;n Locked="false" Priority="34" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="List Paragraph"/>  <w:LsdExcepti&#111;n Locked="false" Priority="29" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Quote"/>  <w:LsdExcepti&#111;n Locked="false" Priority="30" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Quote"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>  <w:LsdExcepti&#111;n Locked="false" Priority="60" Semi="false"     UnhideWhenUsed="false" Name="Light Shading Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="61" Semi="false"     UnhideWhenUsed="false" Name="Light List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="62" Semi="false"     UnhideWhenUsed="false" Name="Light Grid Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="63" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="64" Semi="false"     UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="65" Semi="false"     UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="66" Semi="false"     UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="67" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="68" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="69" Semi="false"     UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="70" Semi="false"     UnhideWhenUsed="false" Name="Dark List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="71" Semi="false"     UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="72" Semi="false"     UnhideWhenUsed="false" Name="Colorful List Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="73" Semi="false"     UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>  <w:LsdExcepti&#111;n Locked="false" Priority="19" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtle Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="21" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Emphasis"/>  <w:LsdExcepti&#111;n Locked="false" Priority="31" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Subtle Reference"/>  <w:LsdExcepti&#111;n Locked="false" Priority="32" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Intense Reference"/>  <w:LsdExcepti&#111;n Locked="false" Priority="33" Semi="false"     UnhideWhenUsed="false" Qat="true" Name="Book Title"/>  <w:LsdExcepti&#111;n Locked="false" Priority="37" Name="Bibliography"/>  <w:LsdExcepti&#111;n Locked="false" Priority="39" Qat="true" Name="TOC ing"/> </w:LatentStyles><!--><!--if gte mso 10> /* Style Definitions */ table.MsoNormalTable	{mso-style-name:"Table Normal";	mso-tstyle-rowband-size:0;	mso-tstyle-colband-size:0;	mso-style-noshow:yes;	mso-style-priority:99;	mso-style-qformat:yes;	mso-style-parent:"";	mso-padding-alt:0in 5.4pt 0in 5.4pt;	mso-para-margin-top:0in;	mso-para-margin-right:0in;	mso-para-margin-bottom:10.0pt;	mso-para-margin-left:0in;	line-height:115%;	mso-pagination:widow-orphan;	font-size:11.0pt;	font-family:"Calibri","sans-serif";	mso-ascii-font-family:Calibri;	mso-ascii-theme-font:minor-latin;	mso-hansi-font-family:Calibri;	mso-hansi-theme-font:minor-latin;	mso-bidi-font-family:"Times New Roman";	mso-bidi-theme-font:minor-bidi;}<!-->]]>
   </description>
   <pubDate>Wed, 07 Nov 2012 16:42:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15137#15137</guid>
  </item> 
  <item>
   <title>FetchStrategy for StoredProcQuery must be DatasourceOnly :   Are you working with multi...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15120#15120</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3743<br /><strong>Posted:</strong> 07-Nov-2012 at 11:51am<br /><br />Are you working with multi threads? i.e. running a background worker or service to run the code above? - this could potentially the the source of the problem.<div></div><div>&nbsp;</div><div>In any case, I will need you to provide a simple solution where the issue happens (even if only sporadically) in order to further investigate this problem.</div><div>&nbsp;</div><div>&nbsp;</div><div></div>]]>
   </description>
   <pubDate>Wed, 07 Nov 2012 11:51:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15120#15120</guid>
  </item> 
  <item>
   <title>FetchStrategy for StoredProcQuery must be DatasourceOnly : Here is the syntax which I have...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15112#15112</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=957" rel="nofollow">hijaggu</a><br /><strong>Subject:</strong> 3743<br /><strong>Posted:</strong> 06-Nov-2012 at 11:34pm<br /><br />Here is the syntax which I have been using, <br><br><pre style="font-family:C&#111;nsolas;font-size:13;color:black;:white;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<span style="color:#2b91af;">IEnumerable</span>&nbsp;enumLock&nbsp;=&nbsp;queryGetEntityLock.With&nbsp;(&nbsp;<span style="color:#2b91af;">QueryStrategy</span>.DataSourceOnly&nbsp;).Execute&nbsp;();</pre>It throws exception while executing above line and its not throwing exception every time. Once in a while it throws exception and hence it is difficult to reproduce.<br>]]>
   </description>
   <pubDate>Tue, 06 Nov 2012 23:34:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=15112#15112</guid>
  </item> 
  <item>
   <title>FetchStrategy for StoredProcQuery must be DatasourceOnly :   We don&amp;#039;t change the StoredProcQuery...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=14982#14982</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3743<br /><strong>Posted:</strong> 26-Oct-2012 at 12:49pm<br /><br />We don't change the StoredProcQuery within our code, so it must be something that is happening externally.<div>&nbsp;</div><div>You mentioned that you are explicitly setting it. Are you doing it immediatelly before its execution? If not, I'd suggest you do so.</div><div>Also, I'd suggest checking the StoredProdQuery's FetchStrategy immediatelly before its execution as a safety check.</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Fri, 26 Oct 2012 12:49:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=14982#14982</guid>
  </item> 
  <item>
   <title>FetchStrategy for StoredProcQuery must be DatasourceOnly : I was not setting it to any and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=14980#14980</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=957" rel="nofollow">hijaggu</a><br /><strong>Subject:</strong> 3743<br /><strong>Posted:</strong> 26-Oct-2012 at 8:56am<br /><br />I was not setting it to any and still it was throwing me an exception. So I have specified it explicitly. My project includes many other projects and third party controls. It would be difficult for me to provide small solution. Also, It doesn't throw this exception consistently.&nbsp;]]>
   </description>
   <pubDate>Fri, 26 Oct 2012 08:56:13 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=14980#14980</guid>
  </item> 
  <item>
   <title>FetchStrategy for StoredProcQuery must be DatasourceOnly :   Hi hijaggu,This exception...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=14979#14979</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3743<br /><strong>Posted:</strong> 26-Oct-2012 at 5:39am<br /><br />Hi hijaggu,<div>&nbsp;</div><div>This exception is thrown when you try to actually se set its FetchStrategy to something other that DataSourceOnly:</div><div>&nbsp;</div><div><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">myStoredProcQuery.QueryStrategy = </font></font><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas"><font color="#0000ff" size="2" face="C&#111;nsolas">new</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas"> </font></font><font color="#2b91af" size="2" face="C&#111;nsolas"><font color="#2b91af" size="2" face="C&#111;nsolas"><font color="#2b91af" size="2" face="C&#111;nsolas">QueryStrategy</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">(</font></font><font color="#2b91af" size="2" face="C&#111;nsolas"><font color="#2b91af" size="2" face="C&#111;nsolas"><font color="#2b91af" size="2" face="C&#111;nsolas">FetchStrategy</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">.CacheOnly, mgr.DefaultQueryStrategy.MergeStrategy);</font></font></div><div><font size="2" face="C&#111;nsolas"></font>&nbsp;</div><div><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">myStoredProcQuery.With(</font></font><font color="#2b91af" size="2" face="C&#111;nsolas"><font color="#2b91af" size="2" face="C&#111;nsolas"><font color="#2b91af" size="2" face="C&#111;nsolas">QueryStrategy</font></font></font><font size="2" face="C&#111;nsolas"><font size="2" face="C&#111;nsolas">.CacheOnly).ExecuteAsync();</font></font></div><div>&nbsp;</div><div>Any particular reason you are try to set the storeProc FetchStrategy manually?</div><div>&nbsp;</div><div>Can you provide a small solution reproducing the issue?</div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;&nbsp; sbelini.</div>]]>
   </description>
   <pubDate>Fri, 26 Oct 2012 05:39:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=14979#14979</guid>
  </item> 
  <item>
   <title>FetchStrategy for StoredProcQuery must be DatasourceOnly : I am calling certain stored procedure...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=14975#14975</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=957" rel="nofollow">hijaggu</a><br /><strong>Subject:</strong> 3743<br /><strong>Posted:</strong> 25-Oct-2012 at 11:51pm<br /><br />I am calling certain stored procedure on BOS with FetchStrategy as DatasourceOnly. Even though once in a while it is throwing an exception <font color="#CC3333">FetchStrategy for StoredProcQuery must be DatasourceOnly.</font>]]>
   </description>
   <pubDate>Thu, 25 Oct 2012 23:51:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3743&amp;PID=14975#14975</guid>
  </item> 
 </channel>
</rss>