Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 0 | 1.000 | statement_list[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 549 | src/NHibernate.Test/Operations/MergeFixture.cs |
2 | 12 | 595 | src/NHibernate.Test/Operations/MergeFixture.cs |
| ||||
parent.Children.Add(child); child.Parent = parent; s.Persist(parent); s.Transaction.Commit(); s.Close(); ClearCounts(); // parent is now detached, but we have made no changes. so attempt to merge it // into this new session; this should cause no updates... s = OpenSession(); s.BeginTransaction(); |
| ||||
parent.Children.Add(child); child.Parent = parent; s.Persist(parent); s.Transaction.Commit(); s.Close(); ClearCounts(); // parent is now detached, but we have made no changes. so attempt to merge it // into this new session; this should cause no updates... s = OpenSession(); s.BeginTransaction(); |
| |||
parent.Children.Add(child); child.Parent = parent; s.Persist(parent); s.Transaction.Commit(); s.Close(); ClearCounts(); // parent is now detached, but we have made no changes. so attempt to merge it // into this new session; this should cause no updates... s = OpenSession(); s.BeginTransaction(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |