文章转自《http://blog.csdn.net/loongshawn/article/details/50496460》,感谢作者分享!
mybatis
jdbctype
oracle
mysql
array
bigint
binary
bit
blob
boolean
char
clob
cursor
date
decimal
double
number
float
integer
longvarbinary
longvarchar
long varchar
nchar
nclob
null
numeric
numeric/number
numeric/
nvarchar
other
real
smallint
struct
time
timestamp
tinyint
undefined
varbinary
varchar
注意到, mybatis的jdbctype中部分没有对应到oracle和mysql的数据类型中(或许由于自己遗漏),不过不用担心,后续大家碰到再具体分析;同时上述对应关系不一定是一一对应,请大家了解。
大家主要掌握基本的数字、时间、字符串就足以应对日常开发了。
<a target="_blank" href="http://www.mybatis.org/mybatis-3/apidocs/reference/org/apache/ibatis/type/jdbctype.html">mybatis jdbctype官方文档</a>

查阅mybatis jdbctype官方文档是很有必要的!