CloneSet1316


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.976statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110212
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/DeleteTablesCommand.java
26280
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/DropTablesCommand.java
Next
Last
Clone Instance
1
Line Count
10
Source Line
212
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/DeleteTablesCommand.java

matViewLookup = new HashSet<String>();
// There is no good way using JDBC metadata to tell if the table is a
// materialized view. So, we need to query the data dictionary to find
// that out. Get all table names whose comment indicates that they are
// a materialized view.
String sql = "SELECT TABLE_NAME FROM ALL_TAB_COMMENTS " + "where COMMENTS like \'snapshot%\' " + "and OWNER = ? ";
PreparedStatement stmt = null;
ResultSet rs = null;


First
Previous
Clone Instance
2
Line Count
6
Source Line
280
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/DropTablesCommand.java

matViewLookup = new HashSet<String>();
final String sql = "SELECT TABLE_NAME FROM ALL_TAB_COMMENTS " + "where COMMENTS like \'snapshot%\' " + "and OWNER = ? ";
PreparedStatement stmt = null;
ResultSet rs = null;


Clone AbstractionParameter Count: 1Parameter Bindings

matViewLookup = new HashSet<String>();
 [[#variable1c862700]]
                                      // There is no good way using JDBC metadata to tell if the table is a
                                      // materialized view. So, we need to query the data dictionary to find
                                      // that out. Get all table names whose comment indicates that they are
                                      // a materialized view.
                                      String sql = "SELECT TABLE_NAME FROM ALL_TAB_COMMENTS " + "where COMMENTS like \'snapshot%\' " + "and OWNER = ? ";
PreparedStatement stmt = null;
ResultSet rs = null;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1c862700]]
12[[#1c862700]]
final