摘要:
Navicat里能够查询到中文,在service层就查不了。 控制台打印没有问题。 需要指定数据库的编码: jdbc.url = jdbc:mysql://localhost:3306/news_publish?useUnicode=yes&character... 阅读全文
posted @ 2017-10-06 01:08
amoxuk
阅读(24)
评论(0)
推荐(0)
摘要:
源码: public Integer findTypeById(String type) throws Exception { Integer page = null; System.out.println(type); NewsTypeEx... 阅读全文
posted @ 2017-10-06 00:27
amoxuk
阅读(34)
评论(0)
推荐(0)

浙公网安备 33010602011771号