CloneSet340


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2930.962statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1239
src/NHibernate/Dialect/FirebirdDialect.cs
2235
src/NHibernate/Dialect/IngresDialect.cs
3251
src/NHibernate/Dialect/MsSql2000Dialect.cs
4220
src/NHibernate/Dialect/MsSqlCeDialect.cs
5270
src/NHibernate/Dialect/MySQLDialect.cs
62125
src/NHibernate/Dialect/Oracle8iDialect.cs
7241
src/NHibernate/Dialect/OracleLiteDialect.cs
8239
src/NHibernate/Dialect/PostgreSQLDialect.cs
9217
src/NHibernate/Dialect/SybaseASA9Dialect.cs
Clone Instance
1
Line Count
2
Source Line
39
Source File
src/NHibernate/Dialect/FirebirdDialect.cs

                        RegisterColumnType(DbType.Binary, "BLOB SUB_TYPE 0");
                        RegisterColumnType(DbType.Binary, 2147483647, "BLOB SUB_TYPE 0"); // should use the IType.BlobType


Clone Instance
2
Line Count
2
Source Line
35
Source File
src/NHibernate/Dialect/IngresDialect.cs

                        RegisterColumnType(DbType.Binary, "bytea");
                        RegisterColumnType(DbType.Binary, 2147483647, "bytea");


Clone Instance
3
Line Count
2
Source Line
51
Source File
src/NHibernate/Dialect/MsSql2000Dialect.cs

                        RegisterColumnType(DbType.Binary, "VARBINARY(8000)");
                        RegisterColumnType(DbType.Binary, 8000, "VARBINARY($l)");


Clone Instance
4
Line Count
2
Source Line
20
Source File
src/NHibernate/Dialect/MsSqlCeDialect.cs

                        RegisterColumnType(DbType.Binary, "VARBINARY(8000)");
                        RegisterColumnType(DbType.Binary, 8000, "VARBINARY($l)");


Clone Instance
5
Line Count
2
Source Line
70
Source File
src/NHibernate/Dialect/MySQLDialect.cs

                        //todo: future: add compatibility with decimal???
                        //An unpacked fixed-point number. Behaves like a CHAR column; 
                        //“unpacked” means the number is stored as a string, using one character for each digit of the value.
                        //M is the total number of digits and D is the number of digits after the decimal point
                        //DECIMAL[(M[,D])] [UNSIGNED] [ZEROFILL]

                        //binary type:
                        RegisterColumnType(DbType.Binary, "LONGBLOB");
                        RegisterColumnType(DbType.Binary, 127, "TINYBLOB");


Clone Instance
6
Line Count
2
Source Line
125
Source File
src/NHibernate/Dialect/Oracle8iDialect.cs

                        RegisterColumnType(DbType.Binary, "RAW(2000)");
                        RegisterColumnType(DbType.Binary, 2000, "RAW($l)");


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

                        RegisterColumnType(DbType.Binary, "RAW(2000)");
                        RegisterColumnType(DbType.Binary, 2000, "RAW($l)");


Clone Instance
8
Line Count
2
Source Line
39
Source File
src/NHibernate/Dialect/PostgreSQLDialect.cs

                        RegisterColumnType(DbType.Binary, "bytea");
                        RegisterColumnType(DbType.Binary, 2147483647, "bytea");


Clone Instance
9
Line Count
2
Source Line
17
Source File
src/NHibernate/Dialect/SybaseASA9Dialect.cs

                        RegisterColumnType(DbType.Binary, "BINARY(255)");
                        RegisterColumnType(DbType.Binary, 2147483647, "LONG BINARY"); // should use the IType.BlobType


Clone AbstractionParameter Count: 3Parameter Bindings

//todo: future: add compatibility with decimal???
//An unpacked fixed-point number. Behaves like a CHAR column; 
//“unpacked” means the number is stored as a string, using one character for each digit of the value.
//M is the total number of digits and D is the number of digits after the decimal point
//DECIMAL[(M[,D])] [UNSIGNED] [ZEROFILL]
//binary type:
RegisterColumnType(DbType.Binary, [[#variable2c0561e0]]);
RegisterColumnType(DbType.Binary, [[#variable54a4abc0]], [[#variable4fceba00]]); // should use the IType.BlobType
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2c0561e0]]
"bytea" 
12[[#2c0561e0]]
"VARBINARY(8000)" 
13[[#2c0561e0]]
"RAW(2000)" 
14[[#2c0561e0]]
"BLOB SUB_TYPE 0" 
15[[#2c0561e0]]
"LONGBLOB" 
16[[#2c0561e0]]
"BINARY(255)" 
17[[#2c0561e0]]
"bytea" 
18[[#2c0561e0]]
"VARBINARY(8000)" 
19[[#2c0561e0]]
"RAW(2000)" 
21[[#54a4abc0]]
2147483647 
22[[#54a4abc0]]
8000 
23[[#54a4abc0]]
2000 
24[[#54a4abc0]]
2147483647 
25[[#54a4abc0]]
127 
26[[#54a4abc0]]
2147483647 
27[[#54a4abc0]]
2147483647 
28[[#54a4abc0]]
8000 
29[[#54a4abc0]]
2000 
31[[#4fceba00]]
"bytea" 
32[[#4fceba00]]
"VARBINARY($l)" 
33[[#4fceba00]]
"RAW($l)" 
34[[#4fceba00]]
"BLOB SUB_TYPE 0" 
35[[#4fceba00]]
"TINYBLOB" 
36[[#4fceba00]]
"LONG BINARY" 
37[[#4fceba00]]
"bytea" 
38[[#4fceba00]]
"VARBINARY($l)" 
39[[#4fceba00]]
"RAW($l)"