Springmvc UPDATE 數據時 ORA-01858:a non-numeric character was found where a numeric was expected

ORA-01858:a non-numeric character was found where a numeric was expected 異常。 我的代碼: 主要是綁定變量帶出來的問題。 出錯原因是:preparedstatement在執行的時候不能把帶有to_date的參數的串替換爲sql中的問號,主要是to_date函數替換不了,解決辦法是將to_date函數先放到sql語句中,然後替
相關文章
相關標籤/搜索