Mybatis
ITCBL
这个作者很懒,什么都没留下…
展开
-
Mybatis : DEBUG [main] - PooledDataSource forcefully closed/removed all connections.
出现错误:DEBUG [main] - Logging initialized using 'class org.apache.ibatis.logging.slf4j.Slf4jImpl' adapter. DEBUG [main] - Class not found: org.jboss.vfs.VFS DEBUG [main] - JBoss 6 VFS API is not ava...原创 2019-01-17 10:35:09 · 13924 阅读 · 2 评论 -
Caused by: org.apache.ibatis.builder.IncompleteElementException: Could not find parameter map com.sm
Caused by: org.apache.ibatis.builder.IncompleteElementException: Could not find parameter map com.sm.po.CustomerMapper.int 因为在另一个Mapper.xml里将parameterType写成了parameterMap,而mybaties中已经不再用这个属性了。 <...原创 2019-02-05 18:37:44 · 968 阅读 · 0 评论 -
commons-logging.jar作用解释
什么是Commons-logging.jar?commons-logging只是一个高层的日志框架,本身没有实现真正的日志能力,它依赖其他的日志系统如log4j或者java本身的java.util.logging。 可以通过配置文件来设定最终使用log4j还是java.util.logging。没有配置log4j的时候就会调用java.util.logging包 所以经常看到commons...原创 2019-02-03 17:10:50 · 879 阅读 · 0 评论 -
mybatis--动态SQL(二)<choose> <when> <otherwise>
**本博文仅仅作为本人的学习小总结,适合有相关基础,但对该部分的内容比较困惑的读者,欢迎提建议,共同进步 在使用<if>元素时,只要test属性中的表达式为true,就会执行元素中的条件语句,但是在实际应用中只需要从多个选项中选择一个去执行。这时<choose>、<when>、<otherwise>元素就出现了。 ------...原创 2019-01-13 13:07:24 · 252 阅读 · 0 评论 -
mybatis--动态SQL(一)if
本篇博文适合已学过相关动态SQL的读者,因为本文省略了许多语句,仅仅把最需要说明的部分写出来,欢迎提建议,共同进步!!!1.<if>if 元素与java中的if差不多----------------------------------------------------------------------------------select * from custome...原创 2019-01-13 11:49:51 · 107 阅读 · 0 评论 -
Mybatis说明书
Mybatis说明书:http://www.mybatis.org/mybatis-3/zh/index.html原创 2019-01-17 15:16:23 · 143 阅读 · 0 评论 -
MyBatis实战——resultMap,resultType简介,关联对象
看到不错的--resultMap,resultType解析,在此分享给大家:https://blog.csdn.net/qqqqq1993qqqqq/article/details/77191131转载 2019-01-17 15:07:49 · 144 阅读 · 0 评论 -
Mybatis:resultMap的使用总结
以下链接为Mybatis:resultMap的使用总结http://www.cnblogs.com/kenhome/p/7764398.html转载 2019-01-17 12:15:10 · 286 阅读 · 0 评论 -
log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment)
log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org...原创 2019-02-05 19:30:37 · 2759 阅读 · 0 评论