Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 3 | 3 | 0.957 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 15 | src/NHibernate/Dialect/MsSql2008Dialect.cs |
2 | 1 | 16 | src/NHibernate/Dialect/MsSql2008Dialect.cs |
3 | 1 | 62 | src/NHibernate/Dialect/PostgreSQLDialect.cs |
| ||||
RegisterFunction("current_timestamp", new NoArgSQLFunction("sysdatetime", NHibernateUtil.DateTime2, true)); |
| ||||
RegisterFunction("current_timestamp_offset", new NoArgSQLFunction("sysdatetimeoffset", NHibernateUtil.DateTimeOffset, true)); |
| ||||
// Override standard HQL function RegisterFunction("current_timestamp", new NoArgSQLFunction("now", NHibernateUtil.DateTime, true)); |
| |||
// Override standard HQL function RegisterFunction( [[#variable26fda4c0]], new NoArgSQLFunction( [[#variable26fdae00]], NHibernateUtil. [[#variable26fdade0]], true)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#26fda4c0]] | "current_timestamp" |
1 | 2 | [[#26fda4c0]] | "current_timestamp" |
1 | 3 | [[#26fda4c0]] | "current_timestamp_offset" |
2 | 1 | [[#26fdae00]] | "now" |
2 | 2 | [[#26fdae00]] | "sysdatetime" |
2 | 3 | [[#26fdae00]] | "sysdatetimeoffset" |
3 | 1 | [[#26fdade0]] | DateTime |
3 | 2 | [[#26fdade0]] | DateTime2 |
3 | 3 | [[#26fdade0]] | DateTimeOffset |