摘要:
1.三种线程调度方式 wait()/notify()/notifyAll() public static void main(String[] args) { Object obj = new Object(); new Thread(()->{ synchronized (obj){ System 阅读全文
摘要:
Spring IoC 什么是IoC? 容器创建Bean对象,将他们装配在一起,配置并且管理它们的完整生命周期。 Spring容器使用依赖注入来管理组成应用程序的Bean对象; 容器通过提供的配置元数据Bean Defination来接收对象进行实例化、配置和组装的指令; 配置元数据可以通过XML、注 阅读全文
摘要:
矫正数据,有以下2个表,建表语句如下所示 -- 订单表 create table t_order ( id int auto_increment primary key, name varchar(255) null, total int null ); -- 插入数据 insert into sq 阅读全文