摘要: 1, 2, 原地址:https://blog.csdn.net/u011127019/article/details/59112030/ 阅读全文
posted @ 2018-07-24 15:57 無玑小姐 阅读(56611) 评论(0) 推荐(1) 编辑
摘要: 报错日志:org.springframework.jdbc.UncategorizedSQLException: Error updating database. Cause: java.sql.SQLException: sql injection violation, syntax error: 阅读全文
posted @ 2018-07-24 15:55 無玑小姐 阅读(6457) 评论(0) 推荐(0) 编辑
摘要: (1)以"."切割字符串时 String str[] = s.split("\\."); (2)以 "(" 或者 ")" 为切割符切割时 String str[] = s..split("\\("); 阅读全文
posted @ 2018-07-23 10:08 無玑小姐 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 一,MySQL数据库 name like concat('%' , #{name} , '%') 二,Oracle数据库 name like '%' || #{name} || '%' 阅读全文
posted @ 2018-05-31 15:03 無玑小姐 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 一,slf4j 二,log4j 阅读全文
posted @ 2018-05-31 09:28 無玑小姐 阅读(356) 评论(0) 推荐(0) 编辑
摘要: @component (把普通pojo实例化到spring容器中,相当于配置文件中的 <bean id="" class=""/>) 泛指各种组件,就是说当我们的类不属于各种归类的时候(不属于@Controller、@Services等的时候),我们就可以使用@Component来标注这个类。 @c 阅读全文
posted @ 2018-05-30 14:35 無玑小姐 阅读(725) 评论(0) 推荐(0) 编辑
摘要: 这里只写selectKey方法的 一,Oracle数据库中的写法 order="BEFORE"因为oracle中需要先从序列获取值,然后将值作为主键插入到数据库中 <selectKey keyColumn="id" resultType="long" keyProperty="id" order=" 阅读全文
posted @ 2018-05-25 15:33 無玑小姐 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 是 转自:https://blog.csdn.net/yueloveme/article/details/77929269 阅读全文
posted @ 2018-05-19 10:51 無玑小姐 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 代码如下 转自:https://www.cnblogs.com/xudong-bupt/p/3758136.html 阅读全文
posted @ 2018-05-16 18:00 無玑小姐 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 在Windows上启动kafka_2.12-1.1.0报以下错误:[2018-05-08 10:24:51,777] ERROR Failed to clean up log for __consumer_offsets-17 in dir D:\JavaSoft\kafka_2.12-1.1.0\ 阅读全文
posted @ 2018-05-08 10:33 無玑小姐 阅读(2527) 评论(1) 推荐(0) 编辑