Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
19 | 2 | 1 | 0.996 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 19 | 123 | src/NHibernate/Hql/Ast/ANTLR/Exec/AbstractStatementExecutor.cs |
2 | 18 | 158 | src/NHibernate/Hql/Ast/ANTLR/Exec/AbstractStatementExecutor.cs |
| ||||
{ // Don't really know all the codes required to adequately decipher returned ADO exceptions here. // simply allow the failure to be eaten and the subsequent insert-selects/deletes should fail IIsolatedWork work = new TmpIdTableCreationIsolatedWork(persister, log, session); if (ShouldIsolateTemporaryTableDDL()) { if (Factory.Settings.IsDataDefinitionInTransactionSupported) { Isolater.DoIsolatedWork(work, session); } else { Isolater.DoNonTransactedWork(work, session); } } else { work.DoWork(session.ConnectionManager.GetConnection(), null); session.ConnectionManager.AfterStatement(); } } |
| ||||
{ IIsolatedWork work = new TmpIdTableDropIsolatedWork(persister, log, session); if (ShouldIsolateTemporaryTableDDL()) { if (Factory.Settings.IsDataDefinitionInTransactionSupported) { Isolater.DoIsolatedWork(work, session); } else { Isolater.DoNonTransactedWork(work, session); } } else { work.DoWork(session.ConnectionManager.GetConnection(), null); session.ConnectionManager.AfterStatement(); } } |
| |||
{ // Don't really know all the codes required to adequately decipher returned ADO exceptions here. // simply allow the failure to be eaten and the subsequent insert-selects/deletes should fail IIsolatedWork work = new [[#variable2d9f6c80]](persister, log, session); if (ShouldIsolateTemporaryTableDDL()) { if (Factory.Settings.IsDataDefinitionInTransactionSupported) { Isolater.DoIsolatedWork(work, session); } else { Isolater.DoNonTransactedWork(work, session); } } else { work.DoWork(session.ConnectionManager.GetConnection(), null); session.ConnectionManager.AfterStatement(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2d9f6c80]] | TmpIdTableCreationIsolatedWork |
1 | 2 | [[#2d9f6c80]] | TmpIdTableDropIsolatedWork |