diff --git a/jOOQ/src/main/java/org/jooq/impl/DefaultBinding.java b/jOOQ/src/main/java/org/jooq/impl/DefaultBinding.java index c42172cfe5..3cdb769590 100644 --- a/jOOQ/src/main/java/org/jooq/impl/DefaultBinding.java +++ b/jOOQ/src/main/java/org/jooq/impl/DefaultBinding.java @@ -4031,6 +4031,12 @@ public class DefaultBinding implements Binding { return converter.from((T) XML.xml(string), ctx.converterContext()); else if (type == Year.class) return converter.from((T) Year.parse(string), ctx.converterContext()); + else if (type == YearToMonth.class) + return converter.from((T) PostgresUtils.toYearToMonth(string), ctx.converterContext()); + else if (type == YearToSecond.class) + return converter.from((T) PostgresUtils.toYearToSecond(string), ctx.converterContext()); + else if (type == DayToSecond.class) + return converter.from((T) PostgresUtils.toDayToSecond(string), ctx.converterContext()); else if (type.isArray()) return converter.from((T) pgNewArray(ctx, field, type, string), ctx.converterContext());