[jOOQ/jOOQ#15035] Support NULL bind values of type Year in R2DBC integration

This commit is contained in:
Lukas Eder 2023-05-05 13:23:47 +02:00
parent 80916440f5
commit 3d1f58dcf5

View File

@ -66,6 +66,7 @@ import java.sql.Types;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.Year;
import java.util.Properties;
import java.util.concurrent.Callable;
import java.util.concurrent.ConcurrentHashMap;
@ -964,6 +965,8 @@ final class R2DBC {
return LocalTime.class;
else if (type == Timestamp.class)
return LocalDateTime.class;
else if (type == Year.class)
return Integer.class;
else if (type == XML.class)
return String.class;
else if (type == JSON.class)