ibatis my sql 필드 tinyint (1) map 응용 조심

1052 단어 ibatis
http://www.mysqlab.net/docs/refman/en-5.1/page/connector-j-reference-type-conversions.html
 
MySQL Type Name
Return value of GetColumnClassName
Returned as Java Class
BIT(1) (new in MySQL-5.0)
BIT java.lang.Boolean
BIT( > 1) (new in MySQL-5.0)
BIT byte[]
TINYINT
TINYINT java.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.

좋은 웹페이지 즐겨찾기