postgresql column is of type timestamp without time zone but expression is of type character varying处置

postgresql column is of type timestamp without time zone but expression is of type character varying处置

column is of type timestamp without time zone but expression is of type character varying处置

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,即机动方法化数据

分享到 :

Leave a Reply

Your email address will not be published. Required fields are marked *