Introduce TableMetaDataProvider.columnNameToUse(String)
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user