随笔分类 -  springboot

mybatis枚举类型处理器
摘要:1. 定义枚举值的接口 2. 定义枚举类型,并实现ValuedEnum接口 3. 继承mybatis的BaseTypeHandler抽象类 @MappedTypes注解表示ValuedEnumTypeHandler要处理的枚举类型 4. 在mybatis的配置文件中配置ValuedEnumTypeH 阅读全文

posted @ 2017-12-16 09:48 jec 阅读(234) 评论(0) 推荐(0)

springboot maven 多环境配置
摘要:1.使用Intellij IDEA创建Spring Boot和Maven项目 2.Spring Boot项目下application.yaml(yaml支持中文)或者application.properties(properties不支持中文) application.yaml applicatio 阅读全文

posted @ 2017-11-23 19:38 jec 阅读(10370) 评论(1) 推荐(4)

导航