Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 1 | 0.988 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 526 | src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs |
2 | 2 | 126 | src/NHibernate/Cfg/XmlHbmBinding/ClassIdBinder.cs |
| ||||
// NOTE: While fixing NH-1061, a couple of lines similar to the following // were added to ClassIdBinder.GetGeneratorProperties(). It looks like // we may need it here too. But I don't want to put it in just yet. /* if (model.Table.Schema != null) parms.Add("schema", model.Table.Schema); else */ if (mappings.SchemaName != null) parms.Add(Id.PersistentIdGeneratorParmsNames.Schema, dialect.QuoteForSchemaName(mappings.SchemaName)); |
| ||||
if (mappings.SchemaName != null) results.Add(Id.PersistentIdGeneratorParmsNames.Schema, dialect.QuoteForSchemaName(mappings.SchemaName)); |
| |||
// NOTE: While fixing NH-1061, a couple of lines similar to the following // were added to ClassIdBinder.GetGeneratorProperties(). It looks like // we may need it here too. But I don't want to put it in just yet. /* if (model.Table.Schema != null) parms.Add("schema", model.Table.Schema); else */ if (mappings.SchemaName != null) [[#variable687b94e0]].Add(Id.PersistentIdGeneratorParmsNames.Schema, dialect.QuoteForSchemaName(mappings.SchemaName)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#687b94e0]] | results |
1 | 2 | [[#687b94e0]] | parms |