摘要:1,springboot与jdbc整合: logging.level.org.springframework.jdbc.core.JdbcTemplate=DEBUG 2,springboot与jpa整合 jpa: hibernate: ddl-auto: update # 第一次简表create
阅读全文
摘要:mysql报Could not get JDBC Connection; nested exception is java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'." 问题原因:这是
阅读全文
摘要:源码地址:https://github.com/apache/shardingsphere Apache ShardingSphere 提供的 3 种运行模式分别是内存模式、单机模式和集群模式。 DistSQL(Distributed SQL)是 Apache ShardingSphere 特有的操
阅读全文
摘要:Redis 桌面连接工具:https://github.com/uglide/RedisDesktopManager下载页面:https://github.com/uglide/RedisDesktopManager/releasesWindows 可执行程序:https://github.com/
阅读全文
摘要:数据切分 关系型数据库本身比较容易成为系统瓶颈,单机存储容量、连接数、处理能力都有限。 当单表的数据量达到 1000W 或 100G 以后,由于查询维度较多,即使添加从库、优化索引,做很多操作时性能仍下降严重。 此时就要考虑对其进行切分了,切分的目的就在于减少数据库的负担,缩短查询时间。 数据库分布
阅读全文
摘要:p6spy介绍 使用 P6Spy 来格式化 SQL 语句,支持 Hibernate 和 iBATIS
阅读全文
摘要:mybatis_API TKmybatis的框架介绍和原理分析及Mybatis新特性演示 mybatis中大于等于小于等于的写法 第一种写法(1): 原符号 < <= > >= & ' " 替换符号 < <= > >= & ' " 例如:sql如下
阅读全文
摘要:是什么? Druid(得鲁伊)首先是一个数据库连接池,但它不仅仅是一个数据库连接池,它还包含一个ProxyDriver,一系列内置的JDBC组件库,一个SQL Parser。 原理: Druid 是 Java 的数据库连接池组件。Druid 能够提供强大的监控和扩展功能。比如可以监控 SQL ,在监
阅读全文
摘要:Druid连接池自定义数据库密码加解密的实现
阅读全文
摘要:Hibernate Validator 6.0.3.Final参考指南 Hibernate Validator学习分享 ssm中使用hibernate-validator验证BO
阅读全文