Mybatis编程

  1. 引入jar包包括:Mybatis和Mysql的jar包
  2. 编写与数据库中的表对应的javabean,例如此表名为product_type
  3. 编写ProductTypeMapper.xml
  4. 编写SqlMapConfig.xml
  5. 编写接口
  6. 应用
后续更新,欢迎一同编辑。