springcloud-eureka-feign-mybatis-seata 整合步奏 1.下载seata-server,修改seate-server配置 2.client端(你自己的项目)拷贝seate-server中的file.conf, registry.conf 加入自己项目 3.数据源代理 ...
分类:
编程语言 时间:
2021-06-11 19:16:48
阅读次数:
0
mybatis使用小案例 添加mybatis依赖 <!--mabatis依赖--> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.1</version> </depe ...
分类:
编程语言 时间:
2021-06-11 19:08:20
阅读次数:
0
低版本mybatis <foreach collection="mapInfo.entrySet()" item="item" index="index" separator=","> ${item.key} = VALUES ( #{item.value} ) </foreach> 高版本 <fo ...
分类:
其他好文 时间:
2021-06-11 19:06:24
阅读次数:
0
ORACLE不能导出空表的解决方法1.查找当前用户所有空表,并构建命令语句,为了生成空表集合。-- 查找所有空表SQL select table_name from user_tables where NUM_ROWS=0;-- 构造所有空表的命令语句select'alter table ' || ...
分类:
数据库 时间:
2021-06-11 18:41:55
阅读次数:
0
在实体类中添加@TableId注解: @Data public class DxApplication { @TableId(type = IdType.AUTO) private Long id; private String name; private Integer sort; } 在navi ...
分类:
其他好文 时间:
2021-06-11 18:35:34
阅读次数:
0
第一个Mybatis程序 思路:搭建环境—>导入Mybatis—>编写代码—>测试! 2.1、搭建环境 2.1.1、搭建数据库 CREATE TABLE `Users`( `id` INT(10) NOT NULL, `name` VARCHAR(30) NOT NULL, `pwd` VARCHA ...
分类:
其他好文 时间:
2021-06-10 18:40:34
阅读次数:
0
项目中碰到一个必须要使用动态SQL的地方, 想着在xml文件中进行一层一层的判断太麻烦了,也不好理解,要是能在Java代码中组织好SQL,进行查询操作 QueryWrapper<object> queryWrapper = new QueryWrapper<>(); queryWrapper.app ...
分类:
数据库 时间:
2021-06-10 18:38:20
阅读次数:
0
create temporary table temp_t like t1; alter table temp_t add index(b); insert into temp_t select * from t2 where b>=1 and b<=2000; select * from t1 j ...
分类:
其他好文 时间:
2021-06-10 18:34:39
阅读次数:
0
来自https://www.tutorialspoint.com/gnu_debugger/gdb_quick_guide.htm GDB - Debugging Symbols A Debugging Symbol Table maps instructions in the compiled b ...
分类:
数据库 时间:
2021-06-09 10:29:22
阅读次数:
0
springboot整合mybatis框架 mybaits类似与hibernate框架,对数据库进行增删改查操作 mybatis半自动化的ORM框架 mybatis的优势:自己写sql更加灵活 过程:1.在navicat 新建test1表并添加数据 2.在pom.xml添加相关的依赖 包含父依赖,软 ...
分类:
其他好文 时间:
2021-06-08 23:36:30
阅读次数:
0