Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
30 | 2 | 2 | 0.978 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 30 | 16 | src/NHibernate/Engine/NamedSQLQueryDefinition.cs |
2 | 30 | 48 | 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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5eb69160]] | string |
1 | 2 | [[#5eb69160]] | INativeSQLQueryReturn[] |
2 | 1 | [[#5eb690c0]] | resultSetRef |
2 | 2 | [[#5eb690c0]] | queryReturns |