![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySql
Rabbiter | 正华心琴站
这个作者很懒,什么都没留下…
展开
-
MySQL -- 插入56个民族
SQL语句–插入56个民族INSERT INTO dictionary(d_type,d_name) VALUES (7, '汉族');INSERT INTO dictionary(d_type,d_name) VALUES (7, '蒙古族');INSERT INTO dictionary(d_type,d_name) VALUES (7, '回族');INSERT INTO dicti...原创 2019-04-30 23:09:43 · 696 阅读 · 0 评论 -
Spring Boot -- 配置jdbc的druid连接池
SpringBoot使用jdbc默认连接的是tomcat的连接池,我们可以更改配置,将连接池自定义为Druid连接池.application.yml:spring: datasource: username: root password: root url: jdbc:mysql://localhost:3306/mybatis?autoReconnect=true...原创 2019-05-11 13:13:34 · 703 阅读 · 0 评论 -
MyBatis3.0 -- SpringBoot配置MyBatis3.0
首先附上mybatis官方文档地址:http://www.mybatis.org/mybatis-3/zh/index.htmlmybatis-config.xml:<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Confi...原创 2019-05-11 13:38:31 · 751 阅读 · 0 评论