Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.990 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 226 | src/NHibernate.Test/HQL/Ast/BulkManipulation.cs |
2 | 5 | 403 | src/NHibernate.Test/HQL/Ast/BulkManipulation.cs |
| ||||
int initialVersion = entity.Version; s = OpenSession(); t = s.BeginTransaction(); int count = s.CreateQuery("insert into IntegerVersioned ( name ) select name from IntegerVersioned").ExecuteUpdate(); |
| ||||
int initialVersion = entity.Version; s = OpenSession(); t = s.BeginTransaction(); int count = s.CreateQuery("update versioned IntegerVersioned set name = name").ExecuteUpdate(); |
| |||
int initialVersion = entity.Version; s = OpenSession(); t = s.BeginTransaction(); int count = s.CreateQuery( [[#variable271878a0]]).ExecuteUpdate(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#271878a0]] | "update versioned IntegerVersioned set name = name" |
1 | 2 | [[#271878a0]] | "insert into IntegerVersioned ( name ) select name from IntegerVersioned" |