[jOOQ/jOOQ#13029] Fix also DataType::getCastTypeName

This commit is contained in:
Lukas Eder 2022-02-09 14:05:04 +01:00
parent e707d8a84a
commit 842988c989
2 changed files with 6 additions and 1 deletions

View File

@ -471,7 +471,7 @@ implements
}
@Override
public final String getCastTypeName() {
public /* final */ String getCastTypeName() {
return getCastTypeName0(SQLDialect.DEFAULT);
}

View File

@ -129,6 +129,11 @@ final class ArrayDataType<T> extends DefaultDataType<T[]> {
return getArrayType(configuration, typeName);
}
@Override
public final String getCastTypeName() {
return getCastTypeName(CTX.configuration());
}
@Override
public final String getCastTypeName(Configuration configuration) {
String castTypeName = elementType.getCastTypeName(configuration);