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

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

WBOY
WBOYOriginal
2016-06-06 09:41:491394browse

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 里面有什么奥妙之处吗

Statement:
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