时间:2021-07-01 10:21:17 帮助过:15人阅读
java.lang.Boolean
byte[]
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.java.lang.Integer
(regardless if UNSIGNED or not)java.lang.Integer,
if UNSIGNED java.lang.Long
(C/J 3.1 and earlier), or java.lang.Integer
for C/J 5.0 and laterjava.lang.Integer
, if UNSIGNED java.lang.Long
java.lang.Long
, if UNSIGNED java.math.BigInteger
java.lang.Float
java.lang.Double
java.math.BigDecimal
java.sql.Date
java.sql.Timestamp
java.sql.Timestamp
java.sql.Time
yearIsDateType
configuration property is set to false, then the returned object type is java.sql.Short
. If set to true (the default) then an object of type java.sql.Date
(with the date set to January 1st, at midnight).java.lang.String
(unless the character set for the column is BINARY, then byte[]
is returned.java.lang.String
(unless the character set for the column is BINARY, then byte[]
is returned.byte[]
byte[]
byte[]
java.lang.String
byte[]
java.lang.String
byte[]
java.lang.String
byte[]
java.lang.String
java.lang.String
java.lang.String
mysql官方文档:
http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-type-conversions.html
转自:http://hi.baidu.com/zdz8207/blog/item/5fc9d209244ed592d0581b56.html
Java数据类型和MySql数据类型对应一览
标签:false binary tiny val lang 5.0 pos doc java数据类型