Java数据类型和MySql数据类型对应一览
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了Java数据类型和MySql数据类型对应一览,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2282字,纯文字阅读大概需要4分钟。
内容图文
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数据类型
本文系统来源:https://www.cnblogs.com/azhqiang/p/8492081.html
内容总结
以上是互联网集市为您收集整理的Java数据类型和MySql数据类型对应一览全部内容,希望文章能够帮你解决Java数据类型和MySql数据类型对应一览所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。