CloneSet2849


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.984non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1495
src/NHibernate/Engine/Query/NativeSQLQueryPlan.cs
231125
src/NHibernate/Loader/Loader.cs
Clone Instance
1
Line Count
4
Source Line
95
Source File
src/NHibernate/Engine/Query/NativeSQLQueryPlan.cs

                                        if (selection != null && selection.Timeout != RowSelection.NoValue)
                                        {
                                                // NH Difference : set Timeout for native query
                                                ps.CommandTimeout = selection.Timeout;
                                        }


Clone Instance
2
Line Count
3
Source Line
1125
Source File
src/NHibernate/Loader/Loader.cs

                                // Added in NH - not in H2.1
                                if (selection != null && selection.Timeout != RowSelection.NoValue)
                                {
                                        command.CommandTimeout = selection.Timeout;
                                }


Clone AbstractionParameter Count: 1Parameter Bindings

// Added in NH - not in H2.1
if (selection != null && selection.Timeout != RowSelection.NoValue)
{
    [[#variable553c0780]].CommandTimeout = selection.Timeout;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#553c0780]]
// NH Difference : set Timeout for native query
ps 
12[[#553c0780]]
command