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