Skip to content

Commit

Permalink
Improve constant names in HibernateDatabase
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-kleber-avelios committed Dec 11, 2024
1 parent 5396ef5 commit ca205e4
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ public abstract class HibernateDatabase extends AbstractJdbcDatabase {
protected Dialect dialect;

private boolean indexesForForeignKeys = false;
public static final String DEFAULT_DEFAULT_CATALOG_NAME = "HIBERNATE";
public static final String DEFAULT_DEFAULT_SCHEMA_NAME = "HIBERNATE";
public static final String DEFAULT_CATALOG_NAME = "HIBERNATE";
public static final String DEFAULT_SCHEMA_NAME = "HIBERNATE";
public static final String HIBERNATE_TEMP_USE_JDBC_METADATA_DEFAULTS = "hibernate.temp.use_jdbc_metadata_defaults";

public HibernateDatabase() { }
Expand Down Expand Up @@ -294,12 +294,12 @@ public boolean supportsTablespaces() {

@Override
protected String getConnectionCatalogName() {
return DEFAULT_DEFAULT_CATALOG_NAME;
return DEFAULT_CATALOG_NAME;
}

@Override
protected String getConnectionSchemaName() {
return DEFAULT_DEFAULT_SCHEMA_NAME;
return DEFAULT_SCHEMA_NAME;
}

@Override
Expand All @@ -309,12 +309,12 @@ public String getDefaultSchemaName() {
return defaultSchemaName;
}

return DEFAULT_DEFAULT_SCHEMA_NAME;
return DEFAULT_SCHEMA_NAME;
}

@Override
public String getDefaultCatalogName() {
return DEFAULT_DEFAULT_CATALOG_NAME;
return DEFAULT_CATALOG_NAME;
}

@Override
Expand Down

0 comments on commit ca205e4

Please sign in to comment.