mybatis中 jdbcType 时间类型
当jdbcType = DATE 时, 只传入了 年月日
jdbcType = TIMESTAMP , 年月日+ 时分秒
不加jdbcType,正常,相当于年月日+ 时分秒。
在比较时间的时候会遇到坑。
mybatis中 jdbcType 时间类型
当jdbcType = DATE 时, 只传入了 年月日
jdbcType = TIMESTAMP , 年月日+ 时分秒
不加jdbcType,正常,相当于年月日+ 时分秒。
在比较时间的时候会遇到坑。
本文标题:myBatis jdbc类型
本文链接:https://www.haomeiwen.com/subject/ibvjvxtx.html
网友评论