Which PostgreSQL column type should be used to store a Java BigDecimal?

后端 未结 3 2037
挽巷
挽巷 2021-01-03 20:15

What PostgreSQL column type should I use to store a Java BigDecimal?

3条回答
  •  醉梦人生
    2021-01-03 20:48

    Just use the Java mappings for the common SQL data types. In this case you can use a NUMERIC or DECIMAL.

提交回复
热议问题