Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 10 | 5 | 0.962 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 36 | src/NHibernate/Dialect/DB2Dialect.cs |
2 | 4 | 41 | src/NHibernate/Dialect/FirebirdDialect.cs |
3 | 4 | 16 | src/NHibernate/Dialect/GenericDialect.cs |
4 | 4 | 37 | src/NHibernate/Dialect/IngresDialect.cs |
5 | 4 | 54 | src/NHibernate/Dialect/MsSql2000Dialect.cs |
6 | 4 | 23 | src/NHibernate/Dialect/MsSqlCeDialect.cs |
7 | 4 | 76 | src/NHibernate/Dialect/MySQLDialect.cs |
8 | 4 | 44 | src/NHibernate/Dialect/OracleLiteDialect.cs |
9 | 4 | 41 | src/NHibernate/Dialect/PostgreSQLDialect.cs |
10 | 4 | 19 | src/NHibernate/Dialect/SybaseASA9Dialect.cs |
| ||||
RegisterColumnType(DbType.Boolean, "SMALLINT"); RegisterColumnType(DbType.Byte, "SMALLINT"); RegisterColumnType(DbType.Currency, "DECIMAL(16,4)"); RegisterColumnType(DbType.Date, "DATE"); |
| ||||
RegisterColumnType(DbType.Boolean, "SMALLINT"); RegisterColumnType(DbType.Byte, "SMALLINT"); RegisterColumnType(DbType.Currency, "DECIMAL(18,4)"); RegisterColumnType(DbType.Currency, "DECIMAL($p,$s)"); |
| ||||
RegisterColumnType(DbType.Boolean, "BIT"); RegisterColumnType(DbType.Byte, "TINYINT"); RegisterColumnType(DbType.Currency, "MONEY"); RegisterColumnType(DbType.Date, "DATE"); |
| ||||
RegisterColumnType(DbType.Boolean, "boolean"); RegisterColumnType(DbType.Byte, "int2"); RegisterColumnType(DbType.Currency, "decimal(16,4)"); RegisterColumnType(DbType.Date, "date"); |
| ||||
RegisterColumnType(DbType.Boolean, "BIT"); RegisterColumnType(DbType.Byte, "TINYINT"); RegisterColumnType(DbType.Currency, "MONEY"); RegisterColumnType(DbType.Date, "DATETIME"); |
| ||||
RegisterColumnType(DbType.Boolean, "BIT"); RegisterColumnType(DbType.Byte, "TINYINT"); RegisterColumnType(DbType.Currency, "MONEY"); RegisterColumnType(DbType.DateTime, "DATETIME"); |
| ||||
//Numeric type: RegisterColumnType(DbType.Boolean, "TINYINT(1)"); // SELECT IF(0, 'true', 'false'); RegisterColumnType(DbType.Byte, "TINYINT UNSIGNED"); RegisterColumnType(DbType.Currency, "MONEY"); RegisterColumnType(DbType.Decimal, "NUMERIC(19,5)"); |
| ||||
RegisterColumnType(DbType.Boolean, "NUMBER(1,0)"); RegisterColumnType(DbType.Byte, "NUMBER(3,0)"); RegisterColumnType(DbType.Currency, "NUMBER(19,1)"); RegisterColumnType(DbType.Date, "DATE"); |
| ||||
RegisterColumnType(DbType.Boolean, "boolean"); RegisterColumnType(DbType.Byte, "int2"); RegisterColumnType(DbType.Currency, "decimal(16,4)"); RegisterColumnType(DbType.Date, "date"); |
| ||||
RegisterColumnType(DbType.Boolean, "BIT"); RegisterColumnType(DbType.Byte, "SMALLINT"); RegisterColumnType(DbType.Currency, "DECIMAL(18,4)"); RegisterColumnType(DbType.Date, "DATE"); |
| |||
//Numeric type: RegisterColumnType(DbType.Boolean, [[#variable65268060]]); // SELECT IF(0, 'true', 'false'); RegisterColumnType(DbType.Byte, [[#variable5f78bf20]]); RegisterColumnType(DbType.Currency, [[#variable5f78a600]]); RegisterColumnType(DbType. [[#variable5f78bf00]], [[#variable5f78be80]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#65268060]] | "SMALLINT" |
1 | 2 | [[#65268060]] | "BIT" |
1 | 3 | [[#65268060]] | "BIT" |
1 | 4 | [[#65268060]] | "boolean" |
1 | 5 | [[#65268060]] | "BIT" |
1 | 6 | [[#65268060]] | "BIT" |
1 | 7 | [[#65268060]] | "TINYINT(1)" |
1 | 8 | [[#65268060]] | "NUMBER(1,0)" |
1 | 9 | [[#65268060]] | "SMALLINT" |
1 | 10 | [[#65268060]] | "boolean" |
2 | 1 | [[#5f78bf20]] | "SMALLINT" |
2 | 2 | [[#5f78bf20]] | "TINYINT" |
2 | 3 | [[#5f78bf20]] | "TINYINT" |
2 | 4 | [[#5f78bf20]] | "int2" |
2 | 5 | [[#5f78bf20]] | "TINYINT" |
2 | 6 | [[#5f78bf20]] | "SMALLINT" |
2 | 7 | [[#5f78bf20]] | "TINYINT UNSIGNED" |
2 | 8 | [[#5f78bf20]] | "NUMBER(3,0)" |
2 | 9 | [[#5f78bf20]] | "SMALLINT" |
2 | 10 | [[#5f78bf20]] | "int2" |
3 | 1 | [[#5f78a600]] | "DECIMAL(16,4)" |
3 | 2 | [[#5f78a600]] | "MONEY" |
3 | 3 | [[#5f78a600]] | "MONEY" |
3 | 4 | [[#5f78a600]] | "decimal(16,4)" |
3 | 5 | [[#5f78a600]] | "MONEY" |
3 | 6 | [[#5f78a600]] | "DECIMAL(18,4)" |
3 | 7 | [[#5f78a600]] | "MONEY" |
3 | 8 | [[#5f78a600]] | "NUMBER(19,1)" |
3 | 9 | [[#5f78a600]] | "DECIMAL(18,4)" |
3 | 10 | [[#5f78a600]] | "decimal(16,4)" |
4 | 1 | [[#5f78bf00]] | Date |
4 | 2 | [[#5f78bf00]] | DateTime |
4 | 3 | [[#5f78bf00]] | Date |
4 | 4 | [[#5f78bf00]] | Date |
4 | 5 | [[#5f78bf00]] | Date |
4 | 6 | [[#5f78bf00]] | Date |
4 | 7 | [[#5f78bf00]] | Decimal |
4 | 8 | [[#5f78bf00]] | Date |
4 | 9 | [[#5f78bf00]] | Currency |
4 | 10 | [[#5f78bf00]] | Date |
5 | 1 | [[#5f78be80]] | "DATE" |
5 | 2 | [[#5f78be80]] | "DATETIME" |
5 | 3 | [[#5f78be80]] | "DATE" |
5 | 4 | [[#5f78be80]] | "date" |
5 | 5 | [[#5f78be80]] | "DATETIME" |
5 | 6 | [[#5f78be80]] | "DATE" |
5 | 7 | [[#5f78be80]] | "NUMERIC(19,5)" |
5 | 8 | [[#5f78be80]] | "DATE" |
5 | 9 | [[#5f78be80]] | "DECIMAL($p,$s)" |
5 | 10 | [[#5f78be80]] | "date" |