大家好
就如我的題目所敘 , 我好不容易連到資料庫 , 使用查詢資料表也可以跑出中文 , 但是我自己新增一筆資料卻失敗 , 錯誤好像是無法顯示中文(中文變成"???")(編譯成功但執行失敗 , 是不是少寫什麼設定中文的程式碼?)
我的錯誤訊息如下:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '????,????,??,??????...