CloneSet1651


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.950statement_list[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15110
src/NHibernate/Id/Enhanced/TableStructure.cs
25223
src/NHibernate/Id/TableGenerator.cs
Clone Instance
1
Line Count
5
Source Line
110
Source File
src/NHibernate/Id/Enhanced/TableStructure.cs

                                IDbCommand qps = conn.CreateCommand();
                                IDataReader rs = null;
                                qps.CommandText = query;
                                qps.CommandType = CommandType.Text;
                                qps.Transaction = conn.BeginTransaction();


Clone Instance
2
Line Count
5
Source Line
223
Source File
src/NHibernate/Id/TableGenerator.cs

                                //the loop ensure atomicitiy of the 
                                //select + uspdate even for no transaction
                                //or read committed isolation level (needed for .net?)

                                IDbCommand qps = conn.CreateCommand();
                                IDataReader rs = null;
                                qps.CommandText = query;
                                qps.CommandType = CommandType.Text;
                                qps.Transaction = transaction;


Clone AbstractionParameter Count: 1Parameter Bindings

//the loop ensure atomicitiy of the 
//select + uspdate even for no transaction
//or read committed isolation level (needed for .net?)
IDbCommand qps = conn.CreateCommand();
IDataReader rs = null;
qps.CommandText = query;
qps.CommandType = CommandType.Text;
qps.Transaction = [[#variable284c5060]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#284c5060]]
conn.BeginTransaction() 
12[[#284c5060]]
transaction