Skip to content

Commit

Permalink
Introduce TableMetaDataProvider.columnNameToUse(String)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Sep 5, 2023
1 parent 4c45f37 commit 070590c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,12 @@ public String tableNameToUse(@Nullable String tableName) {
return identifierNameToUse(tableName);
}

@Override
@Nullable
public String columnNameToUse(@Nullable String columnName) {
return identifierNameToUse(columnName);
}

@Override
@Nullable
public String catalogNameToUse(@Nullable String catalogName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ void initializeWithTableColumnMetaData(DatabaseMetaData databaseMetaData, @Nulla
@Nullable
String tableNameToUse(@Nullable String tableName);

/**
* Get the column name formatted based on meta-data information.
* <p>This could include altering the case.
* @since 6.1
*/
@Nullable
String columnNameToUse(@Nullable String columnName);

/**
* Get the catalog name formatted based on meta-data information.
* <p>This could include altering the case.
Expand Down

0 comments on commit 070590c

Please sign in to comment.