Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Merge Records
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
JH  
View profile  
 More options May 16 2012, 12:19 pm
From: JH <xfl...@gmail.com>
Date: Wed, 16 May 2012 09:19:41 -0700 (PDT)
Local: Wed, May 16 2012 12:19 pm
Subject: Merge Records

In a scenario such as Customers - Orders - Order Details, have have many
people creating Customer records independently. There are now duplicates of
companies that users have created that people would like to merge together
into one (the proper) record. Historically, I have used
Session.CreateSQLQuery(" ... ") to do migrate the old record to the new one
and then delete the old one. But, as we add to the object graph, the method
for merging them gets to be laborious and a task where it is often
forgotten until we are receiving "No row with the given identifier exists"
exceptions because of something we have forgot to add to the series of
update statements. I am wondering if there is a native mechanism within
NHibernate to merge the two records into a single one that would take care
of all the cascading across the object graphs?

TIA,
JH


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »