<?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 : EntityManager error</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : EntityManager error</description>
  <pubDate>Wed, 13 May 2026 08:55:03 -700</pubDate>
  <lastBuildDate>Mon, 27 Feb 2012 20:07:25 -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=3299</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>EntityManager error : Well, in general, if you&amp;#039;re...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3299&amp;PID=12830#12830</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3299<br /><strong>Posted:</strong> 27-Feb-2012 at 8:07pm<br /><br />Well, in general, if you're doing synchronous operations, they stay on the same thread. It's a different story if you're doing asynchronous operations.<div><br></div><div>If you can upload your project here, I can take a quick look and let you know what's wrong.</div>]]>
   </description>
   <pubDate>Mon, 27 Feb 2012 20:07:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3299&amp;PID=12830#12830</guid>
  </item> 
  <item>
   <title>EntityManager error : How can i execute queries on the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3299&amp;PID=12818#12818</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1397" rel="nofollow">alex.tiuca</a><br /><strong>Subject:</strong> 3299<br /><strong>Posted:</strong> 27-Feb-2012 at 3:01am<br /><br />How can i execute queries on the same thread?]]>
   </description>
   <pubDate>Mon, 27 Feb 2012 03:01:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3299&amp;PID=12818#12818</guid>
  </item> 
  <item>
   <title>EntityManager error : Hi Alex,The EntityManager is not...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3299&amp;PID=12808#12808</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 3299<br /><strong>Posted:</strong> 24-Feb-2012 at 2:59pm<br /><br />Hi Alex,<div><br></div><div>The EntityManager is not thread-safe. See&nbsp;<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><br></div><div>What most likely happen is that the EM is created on another thread but is executing query on a different thread.</div>]]>
   </description>
   <pubDate>Fri, 24 Feb 2012 14:59:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3299&amp;PID=12808#12808</guid>
  </item> 
  <item>
   <title>EntityManager error : I get this error and i don&amp;#039;t...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3299&amp;PID=12788#12788</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1397" rel="nofollow">alex.tiuca</a><br /><strong>Subject:</strong> 3299<br /><strong>Posted:</strong> 24-Feb-2012 at 6:28am<br /><br /><div>I get this error and i don't know how to solve it. The error is thrown on this method:</div><div><br></div><div>public static List&lt;TIPI_RECAPITI&gt; GetTipiRecapiti()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var query = from q in dbContext.TIPI_RECAPITI</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; orderby q.ID ascending</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; select q;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return query.ToList&lt;TIPI_RECAPITI&gt;();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; } &nbsp;&nbsp;</div><div><br></div>An EntityManager can only execute on a single thread. This EntityManager is authorized to execute on the thread with id=’16’; the requested operation came from the thread with Id=‘12’.]]>
   </description>
   <pubDate>Fri, 24 Feb 2012 06:28:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3299&amp;PID=12788#12788</guid>
  </item> 
 </channel>
</rss>