上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 33 下一页
摘要: 准备建表语句 //创建数据库 CREATE DATABASE Mysql_Study; 但是在创建表的时候,对于int类型,会有int(2),int(4),int(11)这些类型选择 创建表 CREATE TABLE customer_message( customer_message_id INT 阅读全文
posted @ 2022-07-06 07:50 板凳哲学家 阅读(50) 评论(0) 推荐(0)
摘要: oracle中只能使用values插入数据,想要批量插入,就要拼接 oracle中相对字符串数据排序,可以使用to_number(字段名) select * from ( select * from test t where t.is_use='Y' ) where rownum<10 oracle 阅读全文
posted @ 2022-07-05 00:10 板凳哲学家 阅读(159) 评论(0) 推荐(0)
摘要: 创建表 CREATE TABLE `bank` ( `id` int(11) PRIMARY KEY AUTO_INCREMENT COMMENT '主键', `bank_end` varchar(255) DEFAULT NULL COMMENT '银行卡后四位', `bank_name` lon 阅读全文
posted @ 2022-07-05 00:08 板凳哲学家 阅读(40) 评论(0) 推荐(0)
摘要: 我的问题找到了,有来自两个方面的 一个触发器的名称和调用的触发器的名称不一致 触发器代码最后的"/"要去掉 阅读全文
posted @ 2022-07-01 01:00 板凳哲学家 阅读(1538) 评论(0) 推荐(0)
摘要: 单元测试,前期代码准备 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst 阅读全文
posted @ 2022-07-01 00:59 板凳哲学家 阅读(420) 评论(0) 推荐(0)
摘要: RestTemplate来自import org.springframework.web.client.RestTemplate;需要的maven依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>sprin 阅读全文
posted @ 2022-06-29 23:43 板凳哲学家 阅读(147) 评论(0) 推荐(0)
摘要: 测试截图 Unacked 消息,代表消息已经投递给消费者 Ready消息,代表消息已发送,消费者未接受 每次都是想学个东西,找了一堆教程没一个能用,等自己写好教程了,结果搜到一堆能用的教程真是头大,坑爹啊 linux服务器安装rabbitmq 安装rabbitmq需要的文件汇总,https://yo 阅读全文
posted @ 2022-06-27 22:54 板凳哲学家 阅读(112) 评论(0) 推荐(0)
摘要: 引入依赖 <!--引入jmockit依赖--> <dependency> <groupId>org.jmockit</groupId> <artifactId>jmockit</artifactId> <version>1.38</version> </dependency> 使用Mockito编写 阅读全文
posted @ 2022-06-27 22:44 板凳哲学家 阅读(101) 评论(0) 推荐(0)
摘要: 本次创建线程池采用ThreadPoolExecutor,之所以自定义是因为这样后面程序好去调整,这样对项目的适配性更好 package com.java.thread; import lombok.extern.slf4j.Slf4j; import java.util.concurrent.Arr 阅读全文
posted @ 2022-06-27 22:43 板凳哲学家 阅读(241) 评论(0) 推荐(0)
摘要: 添加INDEX(普通索引) ALTER TABLE `table_name` ADD INDEX index_name ( `column` ) 其中indx_name可以自定义的,例如 ALTER TABLE memo_test ADD INDEX content_type_id ( `conte 阅读全文
posted @ 2022-06-27 21:33 板凳哲学家 阅读(61) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 33 下一页