ibatis
ld513508088
这个作者很懒,什么都没留下…
展开
-
ibatis 模糊查询只认识美元
看下面的 select sid,sname,major,birth,score from Student where sname like '%$sname$%'原创 2014-07-30 11:07:07 · 575 阅读 · 0 评论 -
ibatis 插入数据主键依赖数据库自增长方式
select studentPKSequence.nextVal from dual insert into Stusdent(sid,sname,birth,major,score) values(#sid#,#sname#,#birth#,#major#,#score#)原创 2014-07-30 11:48:28 · 830 阅读 · 0 评论 -
ibatis 优缺点
缺点: 1.参数只能带一个; 2.sql语句需要自己写; 与jdbc比较优点: 1.sql语句与代码分离; 2.增加了移植性原创 2014-07-30 13:23:25 · 751 阅读 · 0 评论