Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 2 | 3 | 0.957 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 91 | src/NHibernate/Engine/Query/NativeSQLQueryPlan.cs |
2 | 1 | 56 | src/NHibernate/Id/Insert/AbstractSelectingDelegate.cs |
| ||||
IDbCommand ps = session.Batcher.PrepareCommand(CommandType.Text, sql, sqlTypes); |
| ||||
//fetch the generated id in a separate query IDbCommand idSelect = session.Batcher.PrepareCommand(CommandType.Text, selectSQL, ParametersTypes); |
| |||
//fetch the generated id in a separate query IDbCommand [[#variable57d14100]]= session.Batcher.PrepareCommand(CommandType.Text, [[#variable57d14a00]], [[#variable57d149c0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57d14100]] | idSelect |
1 | 2 | [[#57d14100]] | ps |
2 | 1 | [[#57d14a00]] | selectSQL |
2 | 2 | [[#57d14a00]] | sql |
3 | 1 | [[#57d149c0]] | ParametersTypes |
3 | 2 | [[#57d149c0]] | sqlTypes |