CloneSet230


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
26210.996class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12548
E:/TSE/Projects-CloneDR/sql12/plugins/mysql/src/net/sourceforge/squirrel_sql/plugins/mysql/tab/MysqlTriggerSourceTab.java
22648
E:/TSE/Projects-CloneDR/sql12/plugins/mysql/src/net/sourceforge/squirrel_sql/plugins/mysql/tab/MysqlViewSourceTab.java
Next
Last
Clone Instance
1
Line Count
25
Source Line
48
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/mysql/src/net/sourceforge/squirrel_sql/plugins/mysql/tab/MysqlTriggerSourceTab.java

public MysqlTriggerSourceTab(String hint, String stmtSep) {
  super(hint);
  super.setupFormatter(stmtSep, null);
  super.setCompressWhitespace(true);
}

protected PreparedStatement createStatement() throws SQLException {
  final ISession session = getSession();
  final IDatabaseObjectInfo doi = getDatabaseObjectInfo();
  ISQLConnection conn = session.getSQLConnection();
  if (s_log.isDebugEnabled()) {
    s_log.debug("Running SQL for View source tab: " + SQL);
    s_log.debug("Binding catalog name " + doi.getCatalogName() + " as first bind value");
    s_log.debug("Binding table name " + doi.getSimpleName() + " as second bind value");
  }
  PreparedStatement pstmt = conn.prepareStatement(SQL);
  pstmt.setString(1, doi.getCatalogName());
  pstmt.setString(2, doi.getSimpleName());
  return pstmt;
}


First
Previous
Clone Instance
2
Line Count
26
Source Line
48
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/mysql/src/net/sourceforge/squirrel_sql/plugins/mysql/tab/MysqlViewSourceTab.java

public MysqlViewSourceTab(String hint, String stmtSep) {
  super(hint);
  super.setupFormatter(stmtSep, null);
  super.setCompressWhitespace(true);
}

protected PreparedStatement createStatement() throws SQLException {
  final ISession session = getSession();
  final IDatabaseObjectInfo doi = getDatabaseObjectInfo();
  ISQLConnection conn = session.getSQLConnection();
  if (s_log.isDebugEnabled()) {
    s_log.debug("Running SQL for View source tab: " + SQL);
    s_log.debug("Binding catalog name " + doi.getCatalogName() + " as first bind value");
    s_log.debug("Binding table name " + doi.getSimpleName() + " as second bind value");
  }
  PreparedStatement pstmt = conn.prepareStatement(SQL);
  pstmt.setString(1, doi.getCatalogName());
  pstmt.setString(2, doi.getSimpleName());
  return pstmt;
}


Clone AbstractionParameter Count: 1Parameter Bindings

public [[#variable18d76b00]](String hint, String stmtSep) {
  super(hint);
  super.setupFormatter(stmtSep, null);
  super.setCompressWhitespace(true);
}

protected PreparedStatement createStatement() throws SQLException {
  final ISession session = getSession();
  final IDatabaseObjectInfo doi = getDatabaseObjectInfo();
  ISQLConnection conn = session.getSQLConnection();
  if (s_log.isDebugEnabled()) {
    s_log.debug("Running SQL for View source tab: " + SQL);
    s_log.debug("Binding catalog name " + doi.getCatalogName() + " as first bind value");
    s_log.debug("Binding table name " + doi.getSimpleName() + " as second bind value");
  }
  PreparedStatement pstmt = conn.prepareStatement(SQL);
  pstmt.setString(1, doi.getCatalogName());
  pstmt.setString(2, doi.getSimpleName());
  return pstmt;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18d76b00]]
MysqlTriggerSourceTab 
12[[#18d76b00]]
MysqlViewSourceTab