mistake
多胶鱼
这个作者很懒,什么都没留下…
展开
-
mybatis动态注入#{}和${}的区别
今天做客户管理系统时候遇到一个问题是关于#{}和${}的对于这两个有点混淆,所以百度一下1 #是将传入的值当做字符串的形式, eg:select id,name,age from student where id=#{id},当前端把 id 值 1,传入到后台的时候,就相当于 select id,name,age from studentwhere id =‘1’.2 是将传入的数据直...转载 2019-03-17 20:17:42 · 244 阅读 · 0 评论 -
class path resource [mybatis/SqlMapConfig.xml] cannot be opened because it does not exist
在eclipse上配置ssm框架的时候出现一下问题,一直困扰很久。Error creating bean with name ‘org.mybatis.spring.SqlSessionFactoryBean#0’ defined in file [E:\tools\apache-tomcat-8.5.33\webapps\boot-crm\WEB-INF\classes\spring\appl...原创 2019-03-13 16:38:18 · 6815 阅读 · 2 评论