[jOOQ/jOOQ#10808] Converter using primitive types fails when used in UDT
array in PostgreSQL
This commit is contained in:
parent
b5f80d0b0f
commit
321c2a927f
@ -3438,7 +3438,7 @@ public class DefaultBinding<T, U> implements Binding<T, U> {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private static final <T> T pgFromString(Converter<?, T> converter, String string) {
|
||||
Class<T> type = converter.toType();
|
||||
Class<T> type = (Class<T>) Reflect.wrapper(converter.toType());
|
||||
|
||||
if (string == null)
|
||||
return null;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user