BookMapper.xml 312 B

1234567
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.sf.mybatis.dao.BookDao">
  4. <select id="findAll" resultType="com.sf.mybatis.entity.Book">
  5. select * from book;
  6. </select>
  7. </mapper>