Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 2 | 0.955 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 823 | E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/HibernateDialect.java |
2 | 2 | 1041 | E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/HibernateDialect.java |
3 | 2 | 1052 | E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/HibernateDialect.java |
| |||||
/** * Gets the SQL command to query the specific database to find out the information about the sequence. The * query should return the following fields: last_value, max_value, min_value, cache_value, increment_by, * is_cycled * * @param sequenceName * the name of the sequence. * @param qualifier * qualifier of the table * @param prefs * preferences for generated sql scripts * @return the sql command to query the database. */ public String getSequenceInformationSQL(String sequenceName, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs); |
| |||||
/** * Returns the SQL that can be used to query the data dictionary for the body of a view. This should * exclude the "CREATE VIEW <viewname> AS" prefix and just return the query. This can return null if the * database doesn't provide access to this definition. * * @param viewName * the name of the view to get the definition for. * @param qualifier * qualifier of the table * @param prefs * preferences for generated sql scripts * @return */ public String getViewDefinitionSQL(String viewName, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs); |
| |||||
/** * Returns the qualified identifier based on the specified qualifier and user preferences. * * @param identifier * @param qualifier * @param prefs * @return */ public String getQualifiedIdentifier(String identifier, DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs); |
| |||
/** * Returns the qualified identifier based on the specified qualifier and user preferences. * * @param identifier * @param qualifier * @param prefs * @return */ /** * Returns the SQL that can be used to query the data dictionary for the body of a view. This should * exclude the "CREATE VIEW <viewname> AS" prefix and just return the query. This can return null if the * database doesn't provide access to this definition. * * @param viewName * the name of the view to get the definition for. * @param qualifier * qualifier of the table * @param prefs * preferences for generated sql scripts * @return */ /** * Gets the SQL command to query the specific database to find out the information about the sequence. The * query should return the following fields: last_value, max_value, min_value, cache_value, increment_by, * is_cycled * * @param sequenceName * the name of the sequence. * @param qualifier * qualifier of the table * @param prefs * preferences for generated sql scripts * @return the sql command to query the database. */ public String [[#variable1c822740]](String [[#variable1c8226a0]], DatabaseObjectQualifier qualifier, SqlGenerationPreferences prefs); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c822740]] | getSequenceInformationSQL |
1 | 2 | [[#1c822740]] | getViewDefinitionSQL |
1 | 3 | [[#1c822740]] | getQualifiedIdentifier |
2 | 1 | [[#1c8226a0]] | sequenceName |
2 | 2 | [[#1c8226a0]] | viewName |
2 | 3 | [[#1c8226a0]] | identifier |