<?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 : Where is the DataAdapter&#039;s RowUpdated Event</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Where is the DataAdapter&#039;s RowUpdated Event</description>
  <pubDate>Mon, 13 Apr 2026 06:46:01 -700</pubDate>
  <lastBuildDate>Tue, 04 Dec 2007 16:47:17 -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=575</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>Where is the DataAdapter&#039;s RowUpdated Event : Hi David,  Thanks for the reply.  ...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=575&amp;PID=2086#2086</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=199" rel="nofollow">johneevo</a><br /><strong>Subject:</strong> 575<br /><strong>Posted:</strong> 04-Dec-2007 at 4:47pm<br /><br />Hi David,<br /><br />Thanks for the reply.<br /><br /> <table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by davidklitzke</strong></em><br /><br />We do handle the problem of retrieving a newly generated identity column from the database and then matching it up with the appropriate object in the cache as it completes its roundtrip.  If you want to, we are happy to allow you to use this mechanism<br /><div> </div><br /></td></tr></table> <br />Can you tell me how and were you do this and, more importantly, how I can use it.  My understanding of how IdeaBlades works is that before updates are issued to the DB your framework calls the ConvertTempIdsToRealIds method.  This method gets the next identity value(s) from the DB prior to submitting any inserts to the DB and updates the appropriate entities and their child entities.  This approach does not work for the version of Informix that we are using.  We need to perform the actual insert and then the DB generates the next identity value (or in Informix speak, the next serial value).  Then before any other sql statements are executed, we need to get the newly generated serial value from the DB.  Then of course we need the entity to be updated with this value and any children entities to have their linking columns updated before they are saved to the DB.<br /><br />Hopefully I am just missing something here and you do have a mechanism built in to support this.<br /><br />]]>
   </description>
   <pubDate>Tue, 04 Dec 2007 16:47:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=575&amp;PID=2086#2086</guid>
  </item> 
  <item>
   <title>Where is the DataAdapter&#039;s RowUpdated Event : We do handle the problem of retrieving...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=575&amp;PID=2075#2075</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 575<br /><strong>Posted:</strong> 03-Dec-2007 at 10:32pm<br /><br />We do handle the problem of retrieving a newly generated identity column from the database and then matching it up with the appropriate object in the cache as it completes its roundtrip.&nbsp; If you want to,&nbsp;we are happy to allow you to use this mechanism<DIV>&nbsp;</DIV><DIV>We also give you cimplete control of generating the keys for your new objects, so if you want you want to take complete control of this, you just need to hook into the IdGenerator interface.&nbsp; For more details, see the Developer's Guide.</DIV><DIV>&nbsp;</DIV><DIV>However, if you just want to hook up to an event that happens just before and after each save to the PersistenceManager, use the Saving and Saved Events.&nbsp;&nbsp; Just before database save, the Saving event fires and you are free to modify the properties of each object before they go to the database.&nbsp; The database then fixes up the keys as they are being saved.&nbsp; After the the database save, the PersistenceManager roundtrips the data, and fires the Saved event, during which you can update the data.</DIV><DIV><BR>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 03 Dec 2007 22:32:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=575&amp;PID=2075#2075</guid>
  </item> 
  <item>
   <title>Where is the DataAdapter&#039;s RowUpdated Event : Hi everybody,  We are evaluating...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=575&amp;PID=2061#2061</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=199" rel="nofollow">johneevo</a><br /><strong>Subject:</strong> 575<br /><strong>Posted:</strong> 03-Dec-2007 at 7:10am<br /><br />Hi everybody,<br /><br />We are evaluating the use of IdeaBlades against an Informix database.  Our existing database heavily uses serial columns.  As I understand it IdeaBlades does not come with support for serial columns.  By "support for serial columns" I mean that there is no support for retrieving the newly generated serial value from the database and updating the appropiate entity with it.  <br /><br />So I thought I might be able to handle the DataAdapter's RowUpdated event to step in and retrieve the newly generated serial value from the database and update the entity myself.  Unfortunately I can't found where IdeaBlades surfaces this event.  Can anybody tell me how I can handled this event using IdeaBlades?<br /><br />Thanks. <br />]]>
   </description>
   <pubDate>Mon, 03 Dec 2007 07:10:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=575&amp;PID=2061#2061</guid>
  </item> 
 </channel>
</rss>