From cda70a63c3bda3ae4539be2670b91357a9978c96 Mon Sep 17 00:00:00 2001 From: Jaden Date: Tue, 1 Nov 2022 11:25:38 +0800 Subject: [PATCH] Fix `LocalTimeCodec` array OID. [resolves #555] --- src/main/java/io/r2dbc/postgresql/codec/LocalTimeCodec.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/r2dbc/postgresql/codec/LocalTimeCodec.java b/src/main/java/io/r2dbc/postgresql/codec/LocalTimeCodec.java index b66ba5b84..0ed83abd4 100644 --- a/src/main/java/io/r2dbc/postgresql/codec/LocalTimeCodec.java +++ b/src/main/java/io/r2dbc/postgresql/codec/LocalTimeCodec.java @@ -28,12 +28,12 @@ import java.time.ZoneOffset; import static io.r2dbc.postgresql.codec.PostgresqlObjectId.TIME; -import static io.r2dbc.postgresql.codec.PostgresqlObjectId.TIMETZ_ARRAY; +import static io.r2dbc.postgresql.codec.PostgresqlObjectId.TIME_ARRAY; final class LocalTimeCodec extends AbstractTemporalCodec { LocalTimeCodec(ByteBufAllocator byteBufAllocator) { - super(LocalTime.class, byteBufAllocator, TIME, TIMETZ_ARRAY, LocalTime::toString); + super(LocalTime.class, byteBufAllocator, TIME, TIME_ARRAY, LocalTime::toString); } @Override