- 博客(2)
- 收藏
- 关注
转载 Spring Boot + Shiro 使用 DefaultWebSessionManager 导致 Druid Monitor 监听不到 Session 问题解决方案
转载,原创链接:https://blog.csdn.net/Dreamcatcher_yxc/article/details/106156988 一、问题配置 项目中使用了 shiro-spring 快速集成 Shiro 到当前 Spring 环境中,配置如下: pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc
2020-07-21 14:56:05
901
原创 Springboot+JPA设置指定innodb引擎
springboot使用jpa+mysql默认使用myisam引擎 有需求修改为innodb ,事务 外键等 配置文件修改: 1、application.properties配置文件中开启自动维护表结构功能 spring.jpa.hibernate.ddl-auto=update 2、在资源目录下创建hibernate.properties文件,指定mysql引擎 hibernate.dialect.storage_engine=innodb ...
2020-07-19 22:08:33
1621
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人