@@ -35,7 +35,7 @@ func postgresType(req *plugin.GenerateRequest, col *plugin.Column) (string, bool
35
35
case "real" , "float4" , "pg_catalog.float4" :
36
36
return "Float" , false
37
37
38
- case "pg_catalog.numeric" :
38
+ case "numeric" , " pg_catalog.numeric" :
39
39
return "java.math.BigDecimal" , false
40
40
41
41
case "bool" , "pg_catalog.bool" :
@@ -52,13 +52,13 @@ func postgresType(req *plugin.GenerateRequest, col *plugin.Column) (string, bool
52
52
// Date and time mappings from https://jdbc.postgresql.org/documentation/head/java8-date-time.html
53
53
return "LocalDate" , false
54
54
55
- case "pg_catalog.time" , "pg_catalog.timetz" :
55
+ case "time" , " pg_catalog.time" , "timetz " , "pg_catalog.timetz" :
56
56
return "LocalTime" , false
57
57
58
- case "pg_catalog.timestamp" :
58
+ case "timestamp" , " pg_catalog.timestamp" :
59
59
return "LocalDateTime" , false
60
60
61
- case "pg_catalog. timestamptz" , "timestamptz" :
61
+ case "timestamptz" , "pg_catalog. timestamptz" :
62
62
// TODO
63
63
return "OffsetDateTime" , false
64
64
0 commit comments