摘要:
1导入jar包 2编写配置文件 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XM 阅读全文
摘要:
1:当传入的参数为 对象类型时 的动态语句 查询: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd 阅读全文
摘要:
select xx.empno,xx.empname,.....xx.deptno form (select rownum, id, emp.* from emp where rownum < size) xx where id > start start=(当前页-1)* size 阅读全文
摘要:
附加:mybatis配置文件 <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/myb 阅读全文