2018年10月11日

springboot之mybatis注解形式

摘要: springboot整合mybatis对数据库进行访问,本实例采用注解的方式,如下: pom.xml文件 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</arti 阅读全文

posted @ 2018-10-11 15:21 海之浪子 阅读(2020) 评论(0) 推荐(0) 编辑

springboot之多数据源配置JdbcTemplate

摘要: springboot多数据源配置,代码如下 DataSourceConfig package com.rookie.bigdata.config; import org.springframework.beans.factory.annotation.Qualifier; import org.sp 阅读全文

posted @ 2018-10-11 06:59 海之浪子 阅读(9968) 评论(0) 推荐(1) 编辑

导航