在 spring mvc + mybatis + mysql
数据表
CREATE TABLE `test_jdbc_java_type` (
`id` int(11) NOT NULL,
`_char` char(50) DEFAULT NULL,
`_varchar` varchar(200) DEFAULT NULL,
`_numeric` decimal(10,2) DEFAULT NULL,
`_decimal` decimal(10,2) DEFAULT NULL,
`_bit` bit(1) DEFAULT NULL,
`_tinyint` tinyint(4) DEFAULT NULL,
`_smallint` smallint(6) DEFAULT NULL,
`_integer` int(11) DEFAULT NULL,
`_bigint` bigint(20) DEFAULT NULL,
`_real` double DEFAULT NULL,
`_float` float DEFAULT NULL,
`_double` double DEFAULT NULL,
`_binary` binary(255) DEFAULT NULL,
`_varbinary` varbinary(255) DEFAULT NULL,
`_date` date DEFAULT NULL,
`_time` time DEFAULT NULL,
`_timestamp` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
`_blob` blob,
PRIMARY KEY (`