摘要: 引入mybatis三剑客 1.mybatis-generator,在resources下新建generatorConfig.xml,配置文件详细信息如下 其中的detail和sub_image为text类型,jdbcType中没有text类型,需转化成varchar类型. mybatis-gener 阅读全文
posted @ 2018-05-06 19:02 Dar_Alpha 阅读(200) 评论(0) 推荐(0)
摘要: 1.web.xml配置注解<?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/ja 阅读全文
posted @ 2018-05-06 17:19 Dar_Alpha 阅读(255) 评论(0) 推荐(0)