數據庫為oracle.
對數據庫操作時用的spring的jdbctemplate.
設置PreparedStatementSetter()的value時,使用setString。
setString("english").運行正確。
當setString("中文")。就報如下錯誤:
ORA-01461: can bind a LONG value only for insert into a LONG column
添加回答
舉報
0/150
提交
取消