踏坑
尹白inbai
这个作者很懒,什么都没留下…
展开
-
Could not create connection to database server. Attempted reconnect 3 times. 踏坑
Could not create connection to database server. Attempted reconnect 3 times. 连接数据库时,三次没有连接通,然后give up 这是在调试springCloud项目时,配置中心配置了application.properties global.db.url=。。。 私有的配置文件 sanniu-user-dev.pr...原创 2019-09-07 19:04:02 · 298 阅读 · 0 评论 -
ava.lang.Exception: No tests found matching Method testmy(TestThread) from org.junit.internal.reques
ava.lang.Exception: No tests found matching Method testmy(TestThread) from org.junit.internal.reques Idea开发SpringCloud项目,写单元测试时,出现ava.lang.Exception: No tests found matching Method testmy(TestThread)...原创 2019-09-07 19:54:46 · 585 阅读 · 0 评论 -
mybatis中CDATA的作用是什么
例子: <if test="beginTime != null"> <![CDATA[ AND book_time >= FROM_UNIXTIME(#{beginTime}) ]]> </if> 在使用mybatis 时我们sql是写在xml 映射文件中,如果写的sql中有一些特殊的字符的话,在解析xml文件的时候会被转义,但我们不希望他...原创 2019-09-11 07:17:45 · 1961 阅读 · 0 评论