网上搜了很多都不理想,这里总结的一部分是官网的文档,一部分是网上的,大体没问题

PostgreSQL™                 Java SE 8

date            LocalDate

time            LocalTime

timestamp  without timezone  LocalDateTime

timestamp with timezone       OffsetDateTime

 

varchar       String 

text             String 

int2             Integer

int4             Integer

int8             Long

float4          Float

float8          Double

numeric      BigDecimal

bool            Boolean

 

相关文章:

  • 2022-12-23
  • 2021-05-27
  • 2022-12-23
  • 2021-06-12
  • 2021-09-13
  • 2021-12-11
  • 2022-12-23
  • 2022-01-16
猜你喜欢
  • 2022-12-23
  • 2022-02-24
  • 2021-09-21
  • 2021-09-07
  • 2021-07-13
  • 2022-03-11
相关资源
相似解决方案