CloneSet2542


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.986statement_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18488
src/NHibernate.Test/HQL/Ast/BulkManipulation.cs
28599
src/NHibernate.Test/HQL/Ast/BulkManipulation.cs
Clone Instance
1
Line Count
8
Source Line
488
Source File
src/NHibernate.Test/HQL/Ast/BulkManipulation.cs

                        if ( ! (Dialect is MySQLDialect))
                        {
                                // MySQL does not support (even un-correlated) subqueries against the update-mutating table
                                s.CreateQuery("update Animal a set a.mother = (from Animal where id = 1) where a.id = 2").ExecuteUpdate();
                        }

                        t.Commit();
                        s.Close();


Clone Instance
2
Line Count
8
Source Line
599
Source File
src/NHibernate.Test/HQL/Ast/BulkManipulation.cs

                        if ( ! (Dialect is MySQLDialect))
                        {
                                // MySQL does not support (even un-correlated) subqueries against the update-mutating table
                                s.CreateQuery("update Animal set bodyWeight = ( select max(bodyWeight) from Animal )").ExecuteUpdate();
                        }

                        t.Commit();
                        s.Close();


Clone AbstractionParameter Count: 1Parameter Bindings

if ( !(Dialect is MySQLDialect))
{
   // MySQL does not support (even un-correlated) subqueries against the update-mutating table
   s.CreateQuery( [[#variable6fee18e0]]).ExecuteUpdate();
}
t.Commit();
s.Close();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6fee18e0]]
"update Animal a set a.mother = (from Animal where id = 1) where a.id = 2" 
12[[#6fee18e0]]
"update Animal set bodyWeight = ( select max(bodyWeight) from Animal )"