发表于: 2018-04-08 22:55:14
2 805
今天完成的事情:尝试建立spring-mybatis
整理了一下逻辑关系(spring-mybatis)
调用关系(mybatis注解方式)
首先,方法类型的定义,一般需要返回值的是get或者select方法,add,delect,update,这种没有返回值方法类型有什么意义,而且为什么是int,
示例中引入了日志和junit,让结构更加复杂了....
明天计划的事情:看看junit和日志相关的部分吧
遇到的问题:报错:
严重: Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@be64738] to prepare test instance [com.java.app.test@421e361]
java.lang.NoClassDefFoundError: org/springframework/dao/support/DaoSupport
收获:了解注解的结构(也许)
评论