CloneSet400


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
30220.978class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13016
src/NHibernate/Engine/NamedSQLQueryDefinition.cs
23048
src/NHibernate/Engine/NamedSQLQueryDefinition.cs
Clone Instance
1
Line Count
30
Source Line
16
Source File
src/NHibernate/Engine/NamedSQLQueryDefinition.cs

                public NamedSQLQueryDefinition(
                        string query,
                        INativeSQLQueryReturn[] queryReturns,
                        IList<string> querySpaces,
                        bool cacheable,
                        string cacheRegion,
                        int timeout,
                        int fetchSize,
                        FlushMode flushMode,
                        CacheMode ? cacheMode,
                        bool readOnly,
                        string comment,
                        IDictionary<string, string> parameterTypes,
                        bool callable)
                        : base(
                                query.Trim(),
                                              /* trim done to workaround stupid oracle bug that cant handle whitespaces before a { in a sp */
                                cacheable, cacheRegion,
                                timeout,
                                fetchSize,
                                flushMode,
                                cacheMode,
                                readOnly,
                                comment,
                                parameterTypes)

                {
                        this.queryReturns = queryReturns;
                        this.querySpaces = querySpaces;
                        this.callable = callable;
                }



Clone Instance
2
Line Count
30
Source Line
48
Source File
src/NHibernate/Engine/NamedSQLQueryDefinition.cs

                public NamedSQLQueryDefinition(
                        string query,
                        string resultSetRef,
                        IList<string> querySpaces,
                        bool cacheable,
                        string cacheRegion,
                        int timeout,
                        int fetchSize,
                        FlushMode flushMode,
                        CacheMode ? cacheMode,
                        bool readOnly,
                        string comment,
                        IDictionary<string, string> parameterTypes,
                        bool callable)
                        : base(
                                query.Trim(),
                                              /* trim done to workaround stupid oracle bug that cant handle whitespaces before a { in a sp */
                                cacheable, cacheRegion,
                                timeout,
                                fetchSize,
                                flushMode,
                                cacheMode,
                                readOnly,
                                comment,
                                parameterTypes)

                {
                        this.resultSetRef = resultSetRef;
                        this.querySpaces = querySpaces;
                        this.callable = callable;
                }



Clone AbstractionParameter Count: 2Parameter Bindings

public NamedSQLQueryDefinition(string query, [[#variable5eb69160]] [[#variable5eb690c0]], IList<string> querySpaces, bool cacheable, string cacheRegion, int timeout, int fetchSize, FlushMode flushMode, CacheMode ? cacheMode, bool readOnly, string comment, IDictionary<string, string> parameterTypes, bool callable): base(query.Trim(),
                                                                                                                                                                                                                                                                                                                                              /* trim done to workaround stupid oracle bug that cant handle whitespaces before a { in a sp */
                                                                                                                                                                                                                                                                                                                                              cacheable, cacheRegion, timeout, fetchSize, flushMode, cacheMode, readOnly, comment, parameterTypes)
{
   this. [[#variable5eb690c0]]= [[#variable5eb690c0]];
   this.querySpaces = querySpaces;
   this.callable = callable;
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5eb69160]]
string 
12[[#5eb69160]]
INativeSQLQueryReturn[] 
21[[#5eb690c0]]
resultSetRef 
22[[#5eb690c0]]
queryReturns