首页 > 数据库技术 > 详细

postgresql+java数据类型对照

时间:2018-12-19 19:24:21      阅读:1050      评论:0      收藏:0      [点我收藏+]

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

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

 

postgresql+java数据类型对照

原文:https://www.cnblogs.com/yb38156/p/10145062.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!