CloneSet109


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20410.995class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
120230
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/DerbyDialectExt.java
224185
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/MAXDBDialectExt.java
324234
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/PointbaseDialectExt.java
417233
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/ProgressDialectExt.java
Next
Last
Clone Instance
1
Line Count
20
Source Line
230
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/DerbyDialectExt.java

/**
 * @see net.sourceforge.squirrel_sql.fw.dialects.DB2DialectExt#getColumnDropSQL(java.lang.String,
 *      java.lang.String, DatabaseObjectQualifier, SqlGenerationPreferences)
 */
@Override public String getColumnDropSQL( final String tableName, final String columnName, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs) {
  return DialectUtils.getColumnDropSQL(tableName, columnName, qualifier, prefs, this );
}

/**
 * @see net.sourceforge.squirrel_sql.fw.dialects.DB2DialectExt#getTableDropSQL(net.sourceforge.squirrel_sql.fw.sql.ITableInfo,
 *      boolean, boolean, DatabaseObjectQualifier, SqlGenerationPreferences)
 */
@Override public List<String> getTableDropSQL( final ITableInfo iTableInfo, final boolean cascadeConstraints, final boolean isMaterializedView, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs) {
  return DialectUtils.getTableDropSQL(iTableInfo, false, cascadeConstraints, false, DialectUtils.CASCADE_CLAUSE, false, qualifier, prefs, this );
}


Next
Previous
Clone Instance
2
Line Count
24
Source Line
185
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/MAXDBDialectExt.java

/**
 * Returns the SQL that forms the command to drop the specified colum in the specified table.
 * 
 * @param tableName
 *           the name of the table that has the column
 * @param columnName
 *           the name of the column to drop.
 * @return
 * @throws UnsupportedOperationException
 *            if the database doesn't support dropping columns.
 */
@Override public String getColumnDropSQL( final String tableName, final String columnName, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs) {
  return DialectUtils.getColumnDropSQL(tableName, columnName, qualifier, prefs, this );
}

/**
 * Returns the SQL that forms the command to drop the specified table. If cascade contraints is supported
 * by the dialect and cascadeConstraints is true, then a drop statement with cascade constraints clause
 * will be formed.
 * 
 * @param iTableInfo
 *           the table to drop
 * @param cascadeConstraints
 *           whether or not to drop any FKs that may reference the specified table.
 * @return the drop SQL command.
 */
@Override public List<String> getTableDropSQL( final ITableInfo iTableInfo, final boolean cascadeConstraints, final boolean isMaterializedView, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs) {
  return DialectUtils.getTableDropSQL(iTableInfo, true, cascadeConstraints, false, DialectUtils.CASCADE_CLAUSE, false, qualifier, prefs, this );
}


Next
Previous
Clone Instance
3
Line Count
24
Source Line
234
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/PointbaseDialectExt.java

/**
 * Returns the SQL that forms the command to drop the specified colum in the specified table.
 * 
 * @param tableName
 *           the name of the table that has the column
 * @param columnName
 *           the name of the column to drop.
 * @return
 * @throws UnsupportedOperationException
 *            if the database doesn't support dropping columns.
 */
@Override public String getColumnDropSQL( final String tableName, final String columnName, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs) {
  return DialectUtils.getColumnDropSQL(tableName, columnName, qualifier, prefs, this );
}

/**
 * Returns the SQL that forms the command to drop the specified table. If cascade contraints is supported
 * by the dialect and cascadeConstraints is true, then a drop statement with cascade constraints clause
 * will be formed.
 * 
 * @param iTableInfo
 *           the table to drop
 * @param cascadeConstraints
 *           whether or not to drop any FKs that may reference the specified table.
 * @return the drop SQL command.
 */
@Override public List<String> getTableDropSQL( final ITableInfo iTableInfo, final boolean cascadeConstraints, final boolean isMaterializedView, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs) {
  return DialectUtils.getTableDropSQL(iTableInfo, true, cascadeConstraints, false, DialectUtils.CASCADE_CLAUSE, false, qualifier, prefs, this );
}


First
Previous
Clone Instance
4
Line Count
17
Source Line
233
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/ProgressDialectExt.java

/**
 * @see net.sourceforge.squirrel_sql.fw.dialects.CommonHibernateDialect#getColumnDropSQL(java.lang.String,
 *      java.lang.String, DatabaseObjectQualifier, SqlGenerationPreferences)
 */
@Override public String getColumnDropSQL( final String tableName, final String columnName, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs) {
  return DialectUtils.getColumnDropSQL(tableName, columnName, qualifier, prefs, this );
}

/**
 * @see net.sourceforge.squirrel_sql.fw.dialects.CommonHibernateDialect#getTableDropSQL(net.sourceforge.squirrel_sql.fw.sql.ITableInfo,
 *      boolean, boolean, DatabaseObjectQualifier, SqlGenerationPreferences)
 */
@Override public List<String> getTableDropSQL( final ITableInfo iTableInfo, final boolean cascadeConstraints, final boolean isMaterializedView, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs) {
  return DialectUtils.getTableDropSQL(iTableInfo, false, cascadeConstraints, false, DialectUtils.CASCADE_CLAUSE, false, qualifier, prefs, this );
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * @see net.sourceforge.squirrel_sql.fw.dialects.DB2DialectExt#getColumnDropSQL(java.lang.String,
         *      java.lang.String, DatabaseObjectQualifier, SqlGenerationPreferences)
         */
/**
         * Returns the SQL that forms the command to drop the specified colum in the specified table.
         * 
         * @param tableName
         *           the name of the table that has the column
         * @param columnName
         *           the name of the column to drop.
         * @return
         * @throws UnsupportedOperationException
         *            if the database doesn't support dropping columns.
         */
/**
         * @see net.sourceforge.squirrel_sql.fw.dialects.CommonHibernateDialect#getColumnDropSQL(java.lang.String,
         *      java.lang.String, DatabaseObjectQualifier, SqlGenerationPreferences)
         */
@Override public String getColumnDropSQL( final String tableName, final String columnName, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs) {
  return DialectUtils.getColumnDropSQL(tableName, columnName, qualifier, prefs, this );
}

/**
         * @see net.sourceforge.squirrel_sql.fw.dialects.DB2DialectExt#getTableDropSQL(net.sourceforge.squirrel_sql.fw.sql.ITableInfo,
         *      boolean, boolean, DatabaseObjectQualifier, SqlGenerationPreferences)
         */
/**
         * Returns the SQL that forms the command to drop the specified table. If cascade contraints is supported
         * by the dialect and cascadeConstraints is true, then a drop statement with cascade constraints clause
         * will be formed.
         * 
         * @param iTableInfo
         *           the table to drop
         * @param cascadeConstraints
         *           whether or not to drop any FKs that may reference the specified table.
         * @return the drop SQL command.
         */
/**
         * @see net.sourceforge.squirrel_sql.fw.dialects.CommonHibernateDialect#getTableDropSQL(net.sourceforge.squirrel_sql.fw.sql.ITableInfo,
         *      boolean, boolean, DatabaseObjectQualifier, SqlGenerationPreferences)
         */
@Override public List<String> getTableDropSQL( final ITableInfo iTableInfo, final boolean cascadeConstraints, final boolean isMaterializedView, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs) {
  return DialectUtils.getTableDropSQL(iTableInfo,  [[#variable18cd7e80]], cascadeConstraints, false, DialectUtils.CASCADE_CLAUSE, false, qualifier, prefs, this );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18cd7e80]]
false 
12[[#18cd7e80]]
true 
13[[#18cd7e80]]
true 
14[[#18cd7e80]]
false