Mysql 5.0的BUG
當Mysql 5.0表數據類型設計為DECIMAL時,在spring,hibernate項目運行會出現246錯誤:Unknown type '246 in column 4 of 11 in binary-encoded result set.; nested exception is java.sql.SQLException: Unknown type '246 in column 4 of 11 in binary-encoded result set.
剛開始還以為是程序有問題,后來才知道MYSQL5在decimal 類型有BUG,解決方法是更改數據類型。
posted on 2006-06-04 22:29 夢延續的港灣----依然是藍 閱讀(1232) 評論(1) 編輯 收藏 所屬分類: 數據庫