<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Refresh SDE Table or FeatureClass in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/refresh-sde-table-or-featureclass/m-p/279323#M16056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the direction Vince, I'll take my problems elsewhere (ArcObjects forum) &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 15:59:35 GMT</pubDate>
    <dc:creator>AlexeiB</dc:creator>
    <dc:date>2013-02-21T15:59:35Z</dc:date>
    <item>
      <title>Refresh SDE Table or FeatureClass</title>
      <link>https://community.esri.com/t5/data-management-questions/refresh-sde-table-or-featureclass/m-p/279321#M16054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a timer which queries a Table (Table1) in SDE every 30 seconds. I have another component which makes entries into Table1 every 15 seconds. The problem is, once the first query on Table1 is made, it seems to "lock it" and does not detect new rows inserted by the second component. So before the first entry is made, my row count is 5. After a row is inserted, my count is still 5. After another row is inserted, my count remains at 5. If I restart the program, my row count is now 7 and the same process is repeated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Inspecting the data through Catalog I am able to see the new entries being made every 15 seconds but only after I right click on the database and do a Refresh. I suspect I need to do something similar in C# but am unsure how (yet).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using IFeatureWorkspace to both make entries into the table and query it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I need to release the IFeatureWorkspace in the same fashion as a Cursor so the next time it connects it establishes a brand new connection?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 20:39:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/refresh-sde-table-or-featureclass/m-p/279321#M16054</guid>
      <dc:creator>AlexeiB</dc:creator>
      <dc:date>2013-02-20T20:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SDE Table or FeatureClass</title>
      <link>https://community.esri.com/t5/data-management-questions/refresh-sde-table-or-featureclass/m-p/279322#M16055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You've left out&amp;nbsp; a lot of necessary details (version of ArcGIS, RDBMS, version of ArcSDE,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;critical code blocks for review), but that's actually okay, since you'd probably be better &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;off posting this (with those details) over in the &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/forums/20-ArcObjects-All-Development-Languages"&gt;ArcObjects&lt;/A&gt;&lt;SPAN&gt; forum.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The important thing to keep in mind is that databases work hard to preserve a consistent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;view of tables inside a transaction -- You want to defeat this feature, so you need to make&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sure each new query is within a new transaction (not a new connection; that would be&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;far too wasteful).&amp;nbsp; The AO folks should be able to translate that into API calls for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 11:02:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/refresh-sde-table-or-featureclass/m-p/279322#M16055</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-02-21T11:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SDE Table or FeatureClass</title>
      <link>https://community.esri.com/t5/data-management-questions/refresh-sde-table-or-featureclass/m-p/279323#M16056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the direction Vince, I'll take my problems elsewhere (ArcObjects forum) &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 15:59:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/refresh-sde-table-or-featureclass/m-p/279323#M16056</guid>
      <dc:creator>AlexeiB</dc:creator>
      <dc:date>2013-02-21T15:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SDE Table or FeatureClass</title>
      <link>https://community.esri.com/t5/data-management-questions/refresh-sde-table-or-featureclass/m-p/279324#M16057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/33877"&gt;Alexei B&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know what solved your problem. I am running into a similar issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Vara Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 12:52:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/refresh-sde-table-or-featureclass/m-p/279324#M16057</guid>
      <dc:creator>Vara_PrasadM_S</dc:creator>
      <dc:date>2019-12-04T12:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh SDE Table or FeatureClass</title>
      <link>https://community.esri.com/t5/data-management-questions/refresh-sde-table-or-featureclass/m-p/279325#M16058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can be done through IVersion::RefreshVersion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2019 11:07:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/refresh-sde-table-or-featureclass/m-p/279325#M16058</guid>
      <dc:creator>Vara_PrasadM_S</dc:creator>
      <dc:date>2019-12-19T11:07:27Z</dc:date>
    </item>
  </channel>
</rss>

