﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » Possible concurrency issue encountered</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 07:25:51 GMT</lastBuildDate><ttl>20</ttl><item><title>Possible concurrency issue encountered</title><link>http://forum.strataframe.net/FindPost12248.aspx</link><description>I get this error message on a BO.Save() call.&amp;nbsp; Can you give me some additional info as to what could be causing this or what it actually means?&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/edc12a32-ac44-42d0-ac2c-f6fb.bmp"&gt;</description><pubDate>Tue, 30 Oct 2007 10:19:06 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Possible concurrency issue encountered</title><link>http://forum.strataframe.net/FindPost12281.aspx</link><description>I'm glad you got it figured out :)</description><pubDate>Tue, 30 Oct 2007 10:19:06 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Possible concurrency issue encountered</title><link>http://forum.strataframe.net/FindPost12280.aspx</link><description>Ok, I figured it out.&amp;nbsp; I was trying to delete before the records were finished saving out I think.&amp;nbsp; I am using a BO to populate a DevEx report, and only want it to actually save to the db under certain circumstances.&amp;nbsp; So I was deleting in the AfterPrint event, but it looks like it wasn't quite finished with the BO by that time since the report generation is on a different thread.&amp;nbsp; I put a pause in there before deleting and it works fine now.&lt;/P&gt;&lt;P&gt;Is there a better way to accomplish what I'm trying to do?&amp;nbsp; I basically&amp;nbsp;need to temporarily store data&amp;nbsp;for a report, and if certain conditions are met save it to the database.&amp;nbsp; Otherwise, the data should never be saved to the db.</description><pubDate>Tue, 30 Oct 2007 10:12:13 GMT</pubDate><dc:creator>Andria Jensen</dc:creator></item><item><title>RE: Possible concurrency issue encountered</title><link>http://forum.strataframe.net/FindPost12274.aspx</link><description>It means that the business object is trying to save a record that has been saved by someone else recently.&amp;nbsp; It's used for detecting concurrency issues (when userA and userB both check out a record and modify it and they both try to save it at the same time).&amp;nbsp; &lt;/P&gt;&lt;P&gt;So, that's normal in a networked application scenario, but if it's happening all the time on one of your business objects, then the UpdateConcurrencyType might need to be changed to Off or OptimisticRowVersion if it's set on OptimisticAllFields.&amp;nbsp; The exception being throw contains properties that show the row causing the data collision.</description><pubDate>Tue, 30 Oct 2007 09:34:01 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>