hibernate 默认date使用的是 java.text.date格式。这种格式不支持时分秒。 解决办法:将hibernate的 pojo对应的 .hbm.xml文件中的 date类型改为 java.util.Date类型就可以解决了