ssh框架中的錯誤:com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'user_name'

com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'user_name' at row 1mysql 啓動服務器都沒有報錯,當我執行方法時卻報錯;sql 緣由:編碼的問題,由於我在配置category.hbm.xml的時候把主鍵的生產策略寫成uuid了(uuid:適用於char,varchar
相關文章
相關標籤/搜索