会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
RunningAll
博客园
首页
新随笔
联系
管理
订阅
[置顶]
Mybatis+Springmvc+Spring整合常用的配置文件
摘要: 1.创建web项目 2.导入mabatis spring springnvc 需要的jar包 3.创建mybatis,spring,springmvc的配置文件 (1)web.xml配置文件 <?xml version="1.0" encoding="UTF-8"?><web-app version
阅读全文
posted @ 2018-08-25 14:29 RunningAll
阅读(169)
评论(0)
推荐(0)
2018年8月25日
Mybatis中#与$的区别
摘要: 1.两者都是动态的向sql语句中传入需要的参数 2.#传入的参数在SQL中显示为字符串 eg:select id,name,age from student where id =#{id},当前端把id值1,传入到后台的时候,就相当于 select id,name,age from student
阅读全文
posted @ 2018-08-25 14:46 RunningAll
阅读(8399)
评论(0)
推荐(0)
公告