上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: alter table stu add foreign key(cno) references user(id);Failed to add the foreign key constraint. Missing index for constraint 'stu_ibfk_1' in the re 阅读全文
posted @ 2021-09-26 13:22 *乐途* 阅读(1425) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-09-24 17:22 *乐途* 阅读(17) 评论(0) 推荐(0)
摘要: 官方文档: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html https://www.oracle.com/java/technologies/javase/vmoptions-jsp.html 阅读全文
posted @ 2021-09-24 16:43 *乐途* 阅读(16) 评论(0) 推荐(0)
摘要: TLAB全称是thread local allocation buffer,本地线程缓存的意思。 有什么作用,简单来说是多线程的情况下,加速对象实例内存分配的一种方式!每个线程在java heap堆中预留的一小块内存。当线程需要堆区空间的时候,可以使用预先分配的线程缓冲!只有本地缓冲区用完了,分配新 阅读全文
posted @ 2021-09-20 20:43 *乐途* 阅读(710) 评论(0) 推荐(0)
摘要: table tablename modify id int(20) not null auto_increment comment '序号' first, add PRIMARY KEY (id asc); 阅读全文
posted @ 2021-08-16 10:06 *乐途* 阅读(123) 评论(0) 推荐(0)
摘要: 游标例子: 转存数据从tb_user的姓名,手机号 转移到bf_user中去 -- 定义语法结束符号 delimiter // -- 创建一个 名称为 p2 的存储过程 drop procedure if exists p2; create procedure p2() begin declare 阅读全文
posted @ 2021-08-08 21:46 *乐途* 阅读(69) 评论(0) 推荐(0)
摘要: 下面是一个例子 import java.nio.charset.StandardCharsets; public class test2 { public static void main(String[] args) { String str = "北京时间8月6日,东京奥运会进入尾声阶段,摔跤赛 阅读全文
posted @ 2021-08-08 10:52 *乐途* 阅读(159) 评论(0) 推荐(0)
摘要: 先前准备,oracle官网下载jdk11,安装好,并配置好环境变量,用来编译openjdk12使用的。 下载openjdk12的源码,下载地址:https://jdk.java.net/java-se-ri/12 下载cgywin,是一个在windows上面运行的类似于linux环境的。下载地址:h 阅读全文
posted @ 2021-07-25 18:58 *乐途* 阅读(883) 评论(0) 推荐(0)
摘要: 群晖的客户端,输入域名的那一栏,不支持指定端口输入,这就很难受,后来在客户端的frpc.ini的配置文件加上这一栏就可以了 [drive_6690] type = tcp local_ip = 127.0.0.1 local_port = 6690 remote_port = 6690 drive域 阅读全文
posted @ 2021-07-18 23:10 *乐途* 阅读(1237) 评论(0) 推荐(0)
摘要: 当链表的长度大于8之后,jvm就会判断hashmap的数组长度是不是小于64,如果小于64就会扩容来减少链表的长度。否则就会链表转化为红黑树。 阅读全文
posted @ 2021-07-17 17:27 *乐途* 阅读(361) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 8 下一页