CloneSet914


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.958block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17443
src/NHibernate/Dialect/Dialect.cs
27518
src/NHibernate/Dialect/Dialect.cs
Clone Instance
1
Line Count
7
Source Line
443
Source File
src/NHibernate/Dialect/Dialect.cs

                {
                        string result = typeNames.Get(sqlType.DbType, length, precision, scale);
                        if (result == null)
                        {
                                throw new HibernateException(string.Format("No type mapping for SqlType {0} of length {1}", sqlType, length));
                        }
                        return result;
                }


Clone Instance
2
Line Count
7
Source Line
518
Source File
src/NHibernate/Dialect/Dialect.cs

                {
                        string result = hibernateTypeNames.Get(code, length, precision, scale);
                        if (result == null)
                        {
                                throw new HibernateException(string.Format("No Hibernate type mapping for java.sql.Types code: {0}, length: {1}", code, length));
                        }
                        return result;
                }


Clone AbstractionParameter Count: 4Parameter Bindings

{
   string result = [[#variable277f2d80]].Get( [[#variable277f2f00]], length, precision, scale);
   if (result == null)
   {
      throw new HibernateException(string.Format( [[#variable277f2360]], [[#variable277f2da0]], length));
   }
   return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#277f2d80]]
typeNames 
12[[#277f2d80]]
hibernateTypeNames 
21[[#277f2f00]]
sqlType.DbType 
22[[#277f2f00]]
code 
31[[#277f2360]]
"No type mapping for SqlType {0} of length {1}" 
32[[#277f2360]]
"No Hibernate type mapping for java.sql.Types code: {0}, length: {1}" 
41[[#277f2da0]]
sqlType 
42[[#277f2da0]]
code