首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > Mysql >

ibatis mysql 字段 tinyint(1) 地图应用要小心

2012-09-10 
ibatis mysql 字段 tinyint(1) map应用要小心http://www.mysqlab.net/docs/refman/en-5.1/page/connector-

ibatis mysql 字段 tinyint(1) map应用要小心

http://www.mysqlab.net/docs/refman/en-5.1/page/connector-j-reference-type-conversions.html

?

MySQL Type NameReturn value of GetColumnClassNameReturned as Java ClassBIT(1) (new in MySQL-5.0)BITjava.lang.BooleanBIT( > 1) (new in MySQL-5.0)BITbyte[]TINYINTTINYINTjava.lang.Boolean if the configuration property tinyInt1isBit is set to true (the default) and the storage size is 1, or java.lang.Integer if not.

热点排行