Skip to content

Commit 2716125

Browse files
committed
spring-projectsGH-573 Add r2dbc-postgresql Geotypes to simple types
1 parent 41c8a87 commit 2716125

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/springframework/data/r2dbc/dialect/PostgresDialect.java

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ public class PostgresDialect extends org.springframework.data.relational.core.di
6666
// conditional Postgres JSON support.
6767
ifClassPresent("io.r2dbc.postgresql.codec.Json", simpleTypes::add);
6868

69+
// conditional Postgres Interval support
70+
ifClassPresent("io.r2dbc.postgresql.codec.Interval", simpleTypes::add);
71+
6972
SIMPLE_TYPES = simpleTypes;
7073
}
7174

0 commit comments

Comments
 (0)