CloneSet69


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11920.974method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11169
E:/TSE/Projects-CloneDR/sql12/plugins/db2/src/net/sourceforge/squirrel_sql/plugins/db2/exp/DB2TableIndexExtractorImpl.java
21168
E:/TSE/Projects-CloneDR/sql12/plugins/db2/src/net/sourceforge/squirrel_sql/plugins/db2/exp/DB2TableTriggerExtractorImpl.java
31151
E:/TSE/Projects-CloneDR/sql12/plugins/h2/src/net/sourceforge/squirrel_sql/plugins/h2/exp/H2TableIndexExtractorImpl.java
41151
E:/TSE/Projects-CloneDR/sql12/plugins/h2/src/net/sourceforge/squirrel_sql/plugins/h2/exp/H2TableTriggerExtractorImpl.java
51152
E:/TSE/Projects-CloneDR/sql12/plugins/informix/src/net/sourceforge/squirrel_sql/plugins/informix/exp/InformixTableIndexExtractorImpl.java
61150
E:/TSE/Projects-CloneDR/sql12/plugins/mysql/src/net/sourceforge/squirrel_sql/plugins/mysql/expander/MysqlTableTriggerExtractorImpl.java
71146
E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/exp/PostgresTableIndexExtractorImpl.java
81150
E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/exp/PostgresTableTriggerExtractorImpl.java
91160
E:/TSE/Projects-CloneDR/sql12/plugins/sybase/src/net/sourceforge/squirrel_sql/plugins/SybaseASE/exp/SybaseTableTriggerExtractorImpl.java
Next
Last
Clone Instance
1
Line Count
11
Source Line
69
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/db2/src/net/sourceforge/squirrel_sql/plugins/db2/exp/DB2TableIndexExtractorImpl.java

/**
 * @see net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.ITableIndexExtractor#bindParamters(java.sql.PreparedStatement, net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo)
 */
public void bindParamters(PreparedStatement pstmt, IDatabaseObjectInfo dbo) throws SQLException {
  if (s_log.isDebugEnabled()) {
    s_log.debug("Binding schema name " + dbo.getSchemaName() + " as first bind value");
    s_log.debug("Binding table name " + dbo.getSimpleName() + " as second bind value");
  }
  pstmt.setString(1, dbo.getSchemaName());
  pstmt.setString(2, dbo.getSimpleName());
}


Next
Previous
Clone Instance
2
Line Count
11
Source Line
68
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/db2/src/net/sourceforge/squirrel_sql/plugins/db2/exp/DB2TableTriggerExtractorImpl.java

/**
 * @see net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.ITableTriggerExtractor#bindParamters(java.sql.PreparedStatement, net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo)
 */
public void bindParamters(PreparedStatement pstmt, IDatabaseObjectInfo dbo) throws SQLException {
  if (s_log.isDebugEnabled()) {
    s_log.debug("Binding schema name " + dbo.getSchemaName() + " as first bind value");
    s_log.debug("Binding table name " + dbo.getSimpleName() + " as second bind value");
  }
  pstmt.setString(1, dbo.getSchemaName());
  pstmt.setString(2, dbo.getSimpleName());
}


Next
Previous
Clone Instance
3
Line Count
11
Source Line
51
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/h2/src/net/sourceforge/squirrel_sql/plugins/h2/exp/H2TableIndexExtractorImpl.java

/**
 * @see net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.ITableIndexExtractor#bindParamters(java.sql.PreparedStatement, net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo)
 */
public void bindParamters(PreparedStatement pstmt, IDatabaseObjectInfo dbo) throws SQLException {
  if (s_log.isDebugEnabled()) {
    s_log.debug("Binding schema name " + dbo.getSchemaName() + " as first bind value");
    s_log.debug("Binding table name " + dbo.getSimpleName() + " as second bind value");
  }
  pstmt.setString(1, dbo.getSchemaName());
  pstmt.setString(2, dbo.getSimpleName());
}


Next
Previous
Clone Instance
4
Line Count
11
Source Line
51
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/h2/src/net/sourceforge/squirrel_sql/plugins/h2/exp/H2TableTriggerExtractorImpl.java

/**
 * @see net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.ITableTriggerExtractor#bindParamters(java.sql.PreparedStatement, net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo)
 */
public void bindParamters(PreparedStatement pstmt, IDatabaseObjectInfo dbo) throws SQLException {
  if (s_log.isDebugEnabled()) {
    s_log.debug("Binding schema name " + dbo.getSchemaName() + " as first bind value");
    s_log.debug("Binding table name " + dbo.getSimpleName() + " as second bind value");
  }
  pstmt.setString(1, dbo.getSchemaName());
  pstmt.setString(2, dbo.getSimpleName());
}


Next
Previous
Clone Instance
5
Line Count
11
Source Line
52
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/informix/src/net/sourceforge/squirrel_sql/plugins/informix/exp/InformixTableIndexExtractorImpl.java

/**
 * @see net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.ITableIndexExtractor#bindParamters(java.sql.PreparedStatement, net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo)
 */
public void bindParamters(PreparedStatement pstmt, IDatabaseObjectInfo dbo) throws SQLException {
  if (s_log.isDebugEnabled()) {
    s_log.debug("Binding schema name " + dbo.getSchemaName() + " as first bind value");
    s_log.debug("Binding table name " + dbo.getSimpleName() + " as second bind value");
  }
  pstmt.setString(1, dbo.getSchemaName());
  pstmt.setString(2, dbo.getSimpleName());
}


Next
Previous
Clone Instance
6
Line Count
11
Source Line
50
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/mysql/src/net/sourceforge/squirrel_sql/plugins/mysql/expander/MysqlTableTriggerExtractorImpl.java

/**
 * @see net.sourceforge.squirrel_sql.plugins.derby.exp.ITableTriggerExtractor#bindParamters(java.sql.PreparedStatement, net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo)
 */
public void bindParamters(PreparedStatement pstmt, IDatabaseObjectInfo dbo) throws SQLException {
  if (s_log.isDebugEnabled()) {
    s_log.debug("Binding catalog name " + dbo.getCatalogName() + " as first bind value");
    s_log.debug("Binding table name " + dbo.getSimpleName() + " as second bind value");
  }
  pstmt.setString(1, dbo.getCatalogName());
  pstmt.setString(2, dbo.getSimpleName());
}


Next
Previous
Clone Instance
7
Line Count
11
Source Line
46
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/exp/PostgresTableIndexExtractorImpl.java

/**
 * @see net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.ITableIndexExtractor#bindParamters(java.sql.PreparedStatement, net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo)
 */
public void bindParamters(PreparedStatement pstmt, IDatabaseObjectInfo dbo) throws SQLException {
  if (s_log.isDebugEnabled()) {
    s_log.debug("Binding schema name " + dbo.getSchemaName() + " as first bind value");
    s_log.debug("Binding table name " + dbo.getSimpleName() + " as second bind value");
  }
  pstmt.setString(1, dbo.getSchemaName());
  pstmt.setString(2, dbo.getSimpleName());
}


Next
Previous
Clone Instance
8
Line Count
11
Source Line
50
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/exp/PostgresTableTriggerExtractorImpl.java

/**
 * @see net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.ITableTriggerExtractor#bindParamters(java.sql.PreparedStatement, net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo)
 */
public void bindParamters(PreparedStatement pstmt, IDatabaseObjectInfo dbo) throws SQLException {
  if (s_log.isDebugEnabled()) {
    s_log.debug("Binding schema name " + dbo.getSchemaName() + " as first bind value");
    s_log.debug("Binding table name " + dbo.getSimpleName() + " as second bind value");
  }
  pstmt.setString(1, dbo.getSchemaName());
  pstmt.setString(2, dbo.getSimpleName());
}


First
Previous
Clone Instance
9
Line Count
11
Source Line
60
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/sybase/src/net/sourceforge/squirrel_sql/plugins/SybaseASE/exp/SybaseTableTriggerExtractorImpl.java

// trigger source
//        "SELECT text " +
//        "FROM dbo.sysobjects " +
//        "inner join syscomments on syscomments.id = sysobjects.id " +
//        "where loginame = ? " +
//        "and name = ? " +
//        "and type = 'TR' ";        
/**
 * @see net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.ITableTriggerExtractor#bindParamters(java.sql.PreparedStatement, net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo)
 */
public void bindParamters(PreparedStatement pstmt, IDatabaseObjectInfo dbo) throws SQLException {
  if (s_log.isDebugEnabled()) {
    s_log.debug("Binding catalog name " + dbo.getCatalogName() + " as first bind value");
    s_log.debug("Binding table name " + dbo.getSimpleName() + " as second bind value");
  }
  pstmt.setString(1, dbo.getCatalogName());
  pstmt.setString(2, dbo.getSimpleName());
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * @see net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.ITableIndexExtractor#bindParamters(java.sql.PreparedStatement, net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo)
     */
/**
     * @see net.sourceforge.squirrel_sql.plugins.derby.exp.ITableTriggerExtractor#bindParamters(java.sql.PreparedStatement, net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo)
     */
// trigger source
//        "SELECT text " +
//        "FROM dbo.sysobjects " +
//        "inner join syscomments on syscomments.id = sysobjects.id " +
//        "where loginame = ? " +
//        "and name = ? " +
//        "and type = 'TR' ";        
/**
     * @see net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.expanders.ITableTriggerExtractor#bindParamters(java.sql.PreparedStatement, net.sourceforge.squirrel_sql.fw.sql.IDatabaseObjectInfo)
     */
public void bindParamters(PreparedStatement pstmt, IDatabaseObjectInfo dbo) throws SQLException {
  if (s_log.isDebugEnabled()) {
    s_log.debug( [[#variable19057d20]] + dbo. [[#variable19057c60]]() + " as first bind value");
    s_log.debug("Binding table name " + dbo.getSimpleName() + " as second bind value");
  }
  pstmt.setString(1, dbo. [[#variable19057c60]]());
  pstmt.setString(2, dbo.getSimpleName());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#19057d20]]
"Binding schema name " 
12[[#19057d20]]
"Binding schema name " 
13[[#19057d20]]
"Binding schema name " 
14[[#19057d20]]
"Binding schema name " 
15[[#19057d20]]
"Binding schema name " 
16[[#19057d20]]
"Binding catalog name " 
17[[#19057d20]]
"Binding schema name " 
18[[#19057d20]]
"Binding schema name " 
19[[#19057d20]]
"Binding catalog name " 
21[[#19057c60]]
getSchemaName 
22[[#19057c60]]
getSchemaName 
23[[#19057c60]]
getSchemaName 
24[[#19057c60]]
getSchemaName 
25[[#19057c60]]
getSchemaName 
26[[#19057c60]]
getCatalogName 
27[[#19057c60]]
getSchemaName 
28[[#19057c60]]
getSchemaName 
29[[#19057c60]]
getCatalogName