Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.976 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 212 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/action/DeleteTablesCommand.java |
2 | 6 | 280 | E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/commands/DropTablesCommand.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; |
| |||||
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; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c862700]] | |
1 | 2 | [[#1c862700]] | final |