Home > Database > Mysql Tutorial > body text

jdbc-mysql的datetime 类型读取之后为什么多一个.0

WBOY
Release: 2016-06-06 09:41:49
Original
1373 people have browsed it

mysqljdbc数据库机

mysql的datetime类型YYYY-MM-DD HH:MM:SS java读取之后为什么多一个.0
比如在数据库中是2015-12-12 12:12:12但jdbc读取之后转成Date却是2015-12-12 12:12:12.0 里面有什么奥妙之处吗

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!