CloneSet1297


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4240.964statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1447
src/NHibernate.Test/BulkManipulation/NativeSQLBulkOperations.cs
2453
src/NHibernate.Test/BulkManipulation/NativeSQLBulkOperations.cs
Clone Instance
1
Line Count
4
Source Line
47
Source File
src/NHibernate.Test/BulkManipulation/NativeSQLBulkOperations.cs

                        Assert.AreEqual(0, sql.ExecuteUpdate());

                        sql = s.GetNamedQuery("native-delete-car").SetString(0, "NotKirsten");
                        Assert.AreEqual(1, sql.ExecuteUpdate());


Clone Instance
2
Line Count
4
Source Line
53
Source File
src/NHibernate.Test/BulkManipulation/NativeSQLBulkOperations.cs

                        Assert.AreEqual(0, sql.ExecuteUpdate());

                        sql = s.CreateSQLQuery("delete from VEHICLE where (TofC = 21) and (Owner = :owner)").SetString("owner", "Joe");
                        Assert.AreEqual(1, sql.ExecuteUpdate());


Clone AbstractionParameter Count: 4Parameter Bindings

Assert.AreEqual(0, sql.ExecuteUpdate());
sql = s. [[#variable538a02a0]]( [[#variable50f16c40]]).SetString( [[#variable538a0260]], [[#variable538a0240]]);
Assert.AreEqual(1, sql.ExecuteUpdate());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#538a02a0]]
GetNamedQuery 
12[[#538a02a0]]
CreateSQLQuery 
21[[#50f16c40]]
"native-delete-car" 
22[[#50f16c40]]
"delete from VEHICLE where (TofC = 21) and (Owner = :owner)" 
31[[#538a0260]]
0 
32[[#538a0260]]
"owner" 
41[[#538a0240]]
"NotKirsten" 
42[[#538a0240]]
"Joe"