1.创建空的maven项目,导如下依赖 <dependencies> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.4.5</version> </dependency> ...
分类:
其他好文 时间:
2021-02-23 14:26:33
阅读次数:
0
sharding: jdbc: config: sharding: tables: myorder: key-generator-column-name: id #主键 actual-data-nodes: db$->{0..1}.myorder_$->{0..1} #分库策略 database‐s ...
分类:
数据库 时间:
2021-02-22 12:45:00
阅读次数:
0
持久化mysql时指定数据库编辑application.properties spring.datasource.platform=mysql db.num=1 db.url.0=jdbc:mysql://127.0.0.1:3306/nacos_config?characterEncoding=u ...
分类:
数据库 时间:
2021-02-22 12:18:17
阅读次数:
0
something before start shiro有很多的概念命名其实是面向安全框架领域的,有一些和我们日常生活中的常用词不太一样,不过好在都很容易找到相近含义的词汇。 入门过程最好是配合代码一起学习,这是我的Shiro学习Demo仓库,非常建议开始看博客前先把代码运行起来。 基础概念 Sub ...
分类:
其他好文 时间:
2021-02-20 12:39:43
阅读次数:
0
pom.xml配置 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jdbc</artifactId> </dependency> ...
分类:
编程语言 时间:
2021-02-19 13:08:50
阅读次数:
0
Mybatis-01 什么是Mybatis 1.简介 1.1 什么是Mybatis MyBatis 是一款优秀的持久层框架 ,它支持定制化 SQL、存储过程以及高级映射。 MyBatis 避免了几乎所有的 JDBC 代码和手动设置参数以及获取结果集。 MyBatis 可以使用简单的 XML 或注解来 ...
分类:
其他好文 时间:
2021-02-18 13:27:24
阅读次数:
0
jdbc连接MySql数据库 package com.zhy; import com.mysql.jdbc.Driver; import java.sql.*; /** * @author ZHY * @data 2021/2/15 */ public class TestJdbc { public ...
分类:
数据库 时间:
2021-02-18 12:57:47
阅读次数:
0
spring.datasource.url=jdbc:oracle:thin:@localhost:1521:orclspring.datasource.username=zhouriyuespring.datasource.password=13768184197spring.datasource ...
分类:
数据库 时间:
2021-02-15 11:56:11
阅读次数:
0
HTTP Content Type 文件扩展名 Content-Type 文件扩展名 Content-Type .* application/octet-stream .tif image/tiff .001 application/x-001 .301 application/x-301 .323 ...
分类:
Web程序 时间:
2021-02-10 13:19:44
阅读次数:
0
首相要安装好hive 1.首先修改配置文件文件为hive 路径下的 conf/hive-sit.xml 将内容增加 <property> <name>hive.server2.thrift.port</name> <value>10000</value> <description>Port numb ...
分类:
数据库 时间:
2021-02-08 12:21:57
阅读次数:
0