java插入postgresql问题:
ERROR: column is of type timestamp without time zone but expression is of type character varying
建议:You will need to rewrite or cast the expression.

解决:
jdbc:postgresql://127.0.0.1:5432/testdb?stringtype=unspecified
后面添加stringtype=unspecified,即自动格式化数据
 

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐