CloneSet1148


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.977statement_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18562
src/NHibernate.Test/Legacy/SQLLoaderTest.cs
27611
src/NHibernate.Test/Legacy/SQLLoaderTest.cs
Clone Instance
1
Line Count
8
Source Line
562
Source File
src/NHibernate.Test/Legacy/SQLLoaderTest.cs

                        IQuery query =
                                session.CreateSQLQuery(
                                        "select identifier_column as {a.id}, clazz_discriminata as {a.class}, name as {a.Name}, count_ as {a.Count} from {a} s").
                                         AddEntity("a", typeof(A));
                        IList list = query.List();

                        Assert.IsNotNull(list);
                        Assert.AreEqual(2, list.Count);


Clone Instance
2
Line Count
7
Source Line
611
Source File
src/NHibernate.Test/Legacy/SQLLoaderTest.cs

                        IQuery query = session.CreateSQLQuery(
                                "select identifier_column as {a.id}, clazz_discriminata as {a.class}, count_ as {a.Count}, name as {a.Name}, anothername as {a.AnotherName} from A").
                                 AddEntity("a", typeof(A));
                        IList list = query.List();

                        Assert.IsNotNull(list);
                        Assert.AreEqual(count, list.Count);


Clone AbstractionParameter Count: 2Parameter Bindings

IQuery query = session.CreateSQLQuery( [[#variable53ac9ac0]]).AddEntity("a", typeof(A));
IList list = query.List();
Assert.IsNotNull(list);
Assert.AreEqual( [[#variable53ac9a60]], list.Count);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#53ac9ac0]]
"select identifier_column as {a.id}, clazz_discriminata as {a.class}, count_ as {a.Count}, name as {a.Name}, anothername as {a.AnotherName} from A" 
12[[#53ac9ac0]]
"select identifier_column as {a.id}, clazz_discriminata as {a.class}, name as {a.Name}, count_ as {a.Count} from {a} s" 
21[[#53ac9a60]]
count 
22[[#53ac9a60]]
2