spoon 輸出表 報錯 column "**" is of type json but expression is of type character varying

主要是jsonb字段的問題

只要把json當做string就可以了

連接中可以設置屬性 stringtype=unspecified

jdbc中設置: 

jdbc:postgresql://127.0.0.1:5432/java?stringtype=unspecified

在spoon中

編輯數據庫連接-> 選項 -> 添加 stringtype unspecified  就可以了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章