码迷,mamicode.com
首页 >  
搜索关键字:spring boot jpa mysql    ( 144980个结果
springcloud 使用feign
一,被调用方 web-test spring: application: name: web-test 二,web-test准备接口 package com.tenyears.webTest.controller; import org.springframework.beans.factory.a ...
分类:编程语言   时间:2021-06-16 17:34:00    阅读次数:0
Spring初始化之ApplicationRunner、InitializingBean、@PostConstruct执行顺序问题 (附项目例子图片)
前言因为要用到Spring的初始化加载bean,比如Spring上下文的获取类应该优先加载,监听什么的类应该在启动后加载,所以考虑先后顺序,所以研究一下ApplicationRunner、InitializingBean、@PostConstruct的执行先后顺序问题 一、ApplicationRu ...
分类:移动开发   时间:2021-06-15 18:53:28    阅读次数:0
mysql 8.0开启远程访问
1、 进入数据 mysql -u root -p ‘原来的密码’ //进入数据库中 2、 切换数据库 use mysql; 3、使用以下命令开启root用户远程访问权限: CREATE USER 'root'@'%' IDENTIFIED BY '你的密码'; GRANT ALL ON *.* TO ...
分类:数据库   时间:2021-06-15 18:39:53    阅读次数:0
spring-cloud-alibaba-gateway
###一、spring-cloud-alibaba-gateway #####1、pom.xml <!-- gateway 路由网关依赖 webflux--> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId> ...
分类:编程语言   时间:2021-06-15 18:39:05    阅读次数:0
将两个hex文件boot.hex和app.hex合并成一个boot_app.hex
用到的软件:Winhex软件 步骤: 1、编译出boot.hex、app.hex 2、复制一份boot.hex,并改名为boot_app.hex 3、把Boot的最后一行去掉,再把App的所有文件复制到Boot后即可 具体如下: :020000040800F2 //boot起始地址 :1000000 ...
分类:移动开发   时间:2021-06-15 18:34:20    阅读次数:0
springboot+mybatis-plus快速精简配置
1.依赖 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>${mybatis-plus.verson}</version></depend ...
分类:编程语言   时间:2021-06-15 18:29:31    阅读次数:0
hava中过滤器和拦截器的区别
1.适用范围和规范不同 filter是servlet规范规定的,只能用在web程序中. 拦截器即可以用在web程序中, 也可以用于application, swing程序中, 是Spring容器内的, 是Spring框架支持的 2.触发时机不同 顺序: Filter-->Servlet-->Inte ...
分类:其他好文   时间:2021-06-15 18:19:56    阅读次数:0
Flask保存图片与展示
配置项 为了方便的图片的保存与展示,可以在 配置文件中,指明 图片资源的路径 1 import os 2 ? 3 ? 4 class Config(object): 5 DEBUG = True 6 SQLALCHEMY_DATABASE_URI = 'mysql://root:mysql@127. ...
分类:其他好文   时间:2021-06-15 18:16:21    阅读次数:0
Mysql
Mysql命令启停 net start mysql; net stop mysql; Mysql命令行命令 退出:exit 显示密码登录mysql:mysql -uroot -proot 隐藏密码登录mysql:mysql -uroot -p 查看数据库:show databases; 使用数据库: ...
分类:数据库   时间:2021-06-15 18:12:41    阅读次数:0
sqlalchemy操作mysql
from sqlalchemy import Column,String,create_engine,MetaData from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.declarative import declarative ...
分类:数据库   时间:2021-06-15 18:05:12    阅读次数:0
144980条   上一页 1 ... 29 30 31 32 33 ... 14498 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!