Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 1 | 0.978 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 908 | E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/HibernateDialect.java |
2 | 2 | 1003 | E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/HibernateDialect.java |
| |||||
/** * Gets the SQL to add an auto-increment to a column. * * @param column * column to where the auto-increment should be added to. * @param qualifier * qualifier of the table * @param prefs * preferences for generated sql scripts * @return the sql command to add auto-increment. */ public String[] getAddAutoIncrementSQL(TableColumnInfo column, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs); |
| |||||
/** * Gets the SQL command to add a column to the specified table. * * @param column * information about the column * @param qualifier * qualifier of the table * @param prefs * preferences for generated sql scripts * @return the sql command to add a column * @throws UnsupportedOperationException * if the database doesn't support adding columns after a table has already been created. Use * supportsAddColumn before calling this to avoid that. */ public String[] getAddColumnSQL(TableColumnInfo column, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs); |
| |||
/** * Gets the SQL command to add a column to the specified table. * * @param column * information about the column * @param qualifier * qualifier of the table * @param prefs * preferences for generated sql scripts * @return the sql command to add a column * @throws UnsupportedOperationException * if the database doesn't support adding columns after a table has already been created. Use * supportsAddColumn before calling this to avoid that. */ /** * Gets the SQL to add an auto-increment to a column. * * @param column * column to where the auto-increment should be added to. * @param qualifier * qualifier of the table * @param prefs * preferences for generated sql scripts * @return the sql command to add auto-increment. */ public String[] [[#variable1c986da0]](TableColumnInfo column, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c986da0]] | getAddAutoIncrementSQL |
1 | 2 | [[#1c986da0]] | getAddColumnSQL |