[jOOQ/jOOQ#228] Enhance API to provide access to UDT members - WIP

- Generics and rawtypes are a gift that keeps on giving
This commit is contained in:
Lukas Eder 2023-08-25 11:41:53 +02:00
parent c466d68a85
commit 6d740f3840

View File

@ -329,7 +329,7 @@ public final class Internal {
) throws Exception {
// [#228] This case only happens in generated UDTPath types, never in generated Table types
if (returnType == UDTField.class)
if (returnType == (Class) UDTField.class)
return (P) new UDTPathFieldImpl<>(name, actualType, path.asQualifier(), path.getUDT(), DSL.comment(comment), actualBinding);
// [#228] While it would be cleaner to pass around a Function5 constructor reference,