Introduce TableMetaDataProvider.columnNameToUse(String)

This commit is contained in:
Sam Brannen
2023-09-05 11:35:28 +02:00
parent 4c45f37166
commit 070590cb11
2 changed files with 14 additions and 0 deletions

View File

@@ -229,6 +229,12 @@ public class GenericTableMetaDataProvider implements TableMetaDataProvider {
return identifierNameToUse(tableName);
}
@Override
@Nullable
public String columnNameToUse(@Nullable String columnName) {
return identifierNameToUse(columnName);
}
@Override
@Nullable
public String catalogNameToUse(@Nullable String catalogName) {

View File

@@ -60,6 +60,14 @@ public interface TableMetaDataProvider {
@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.