<?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 : Should I use a single PersistenceManager or many?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Should I use a single PersistenceManager or many?</description>
  <pubDate>Sat, 11 Apr 2026 07:11:30 -700</pubDate>
  <lastBuildDate>Thu, 12 Jul 2007 16:40:05 -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=228</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>Should I use a single PersistenceManager or many? : Actually, you have three choices   One...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=228&amp;PID=506#506</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 228<br /><strong>Posted:</strong> 12-Jul-2007 at 4:40pm<br /><br /><DIV style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1" ="Ms&#111;normal"><FONT face="Arial Narrow"><FONT size=4><O:P><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Actually, you have three choices<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><O:P></O:P></SPAN></DIV><DIV style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1" ="Ms&#111;normal"><UL style="MARGIN-TOP: 0in" ="disc"><LI style="MARGIN: 0in 0in 0pt; COLOR: navy; mso-list: l0 level1 lfo1; tab-stops: list .5in" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">One PM<O:P></O:P></SPAN> <LI style="MARGIN: 0in 0in 0pt; COLOR: navy; mso-list: l0 level1 lfo1; tab-stops: list .5in" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Multiple PM’s<O:P></O:P></SPAN> <LI style="MARGIN: 0in 0in 0pt; COLOR: navy; mso-list: l0 level1 lfo1; tab-stops: list .5in" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">A hybrid approach<O:P></O:P></SPAN></LI></UL><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><O:P></O:P></SPAN></P><P style="MARGIN: 0in 0in 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I would advise you to start with just a single PM.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>This is certainly the easiest approach.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>It is also the most consistent approach in that each form represents the same view of any particular business object as any other form.</P><DIV>&nbsp;</DIV><DIV><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Consider multiple PM’s if you want any additions, deletions, or changes in one form not to be present in any other form until you save the first form.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>In addition, you can do an Undo on one form independent of the state of another,<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The disadvantage of using multiple PM’s is that managing them can be complex.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Moving changes from one PM can be tricky (for example, you’ll have to deal with possible concurrency conflicts).<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><O:P></O:P></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><O:P>&nbsp;</O:P></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Finally, there is the hybrid approach.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>View the TechTip which uses theGetEntityGraph at</SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">http://www.ideablade.com/techtip_saving_by_form.htm</SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><O:P>&nbsp;</O:P></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Now that I have confused you, I would strongly recommend that you start with a single PM.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>If after you have success with this approach, you might look at other alternatives.<O:P></O:P></SPAN></P><DIV =Ms&#111;normal style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"><O:P><FONT face="Arial Narrow" size=4></FONT></O:P>&nbsp;</DIV><O:P></O:P></DIV></SPAN></O:P></FONT></FONT></DIV><span style="font-size:10px"><br /><br />Edited by IdeaBlade - 12-Jul-2007 at 4:57pm</span>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 16:40:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=228&amp;PID=506#506</guid>
  </item> 
  <item>
   <title>Should I use a single PersistenceManager or many? : How to use aPersistenceManager...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=228&amp;PID=505#505</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 228<br /><strong>Posted:</strong> 12-Jul-2007 at 4:37pm<br /><br /><P>&nbsp;<FONT face="Arial Narrow"><FONT size=4><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>How to use a&nbsp;PersistenceManager with two forms?</o:p></FONT></FONT></P><DIV =Ms&#111;normal style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"><FONT face="Arial Narrow"><FONT size=4><o:p>-Use a separate PersistenceManager for each editing space or</o:p></FONT></FONT></DIV><DIV =Ms&#111;normal style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"><FONT face="Arial Narrow"><FONT size=4><o:p>-Use a single PersistenceManager </o:p></FONT></FONT></DIV><DIV =Ms&#111;normal style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"><FONT face="Arial Narrow"><FONT size=4><o:p></o:p></FONT></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 16:37:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=228&amp;PID=505#505</guid>
  </item> 
 </channel>
</rss>