Mysql 5.0的BUG
當(dāng)Mysql 5.0表數(shù)據(jù)類型設(shè)計為DECIMAL時,在spring,hibernate項目運(yùn)行會出現(xiàn)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,解決方法是更改數(shù)據(jù)類型。
posted on 2006-06-04 22:29 夢延續(xù)的港灣----依然是藍(lán) 閱讀(1232) 評論(1) 編輯 收藏 所屬分類: 數(shù)據(jù)庫