最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

3.SpringBoot從零開始-引入mysql數(shù)據(jù)源

2023-07-16 15:28 作者:攻城獅小章魚  | 我要投稿

jar包

<!--mybatis 數(shù)據(jù)庫-->

<dependency>

<groupId>mysql</groupId>

<artifactId>mysql-connector-java</artifactId>

<version>8.0.13</version>

</dependency>

<dependency>

<groupId>tk.mybatis</groupId>

<artifactId>mapper-spring-boot-starter</artifactId>

<version>2.1.4</version>

</dependency>

<dependency>

<groupId>com.alibaba</groupId>

<artifactId>druid</artifactId>

<version>1.1.8</version>

</dependency>

mybatis配置文件

# Mybatis

mybatis:

?type-aliases-package: com.yuantai.entity

?mapper-locations: classpath:mapper/*.xml

?configuration:

??map-underscore-to-camel-case: true

spring:

?datasource:

??driver-class-name: com.mysql.cj.jdbc.Driver

??username: test

??password: 123456

??url: jdbc:mysql://localhost:3306/yuantai_sso?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=Asia/Shanghai

??type: com.alibaba.druid.pool.DruidDataSource


3.SpringBoot從零開始-引入mysql數(shù)據(jù)源的評論 (共 條)

分享到微博請遵守國家法律
金山区| 锡林浩特市| 厦门市| 合川市| 荔波县| 莱阳市| 沁源县| 崇州市| 临沭县| 宜阳县| 吐鲁番市| 民乐县| 临桂县| 临安市| 岫岩| 商都县| 韩城市| 剑阁县| 青川县| 安丘市| 蓬安县| 利川市| 清镇市| 桐梓县| 腾冲县| 望谟县| 白玉县| 定结县| 三穗县| 阿瓦提县| 玛纳斯县| 墨玉县| 饶阳县| 信宜市| 西吉县| 新安县| 乌鲁木齐县| 大埔县| 哈巴河县| 南丹县| 临颍县|