关键词 spring Java eclipse bean 多例模式 prototype 懒加载 lazy-init 写在前面 功能简述:对于多例模式的懒加载配置是否生效的测试。 刚接触,摸索中,低级错误,只是做个记录,轻喷。 (有错误)Xml配置文件(片段) <?xml version="1.0" ...
分类:
其他好文 时间:
2021-02-18 13:55:34
阅读次数:
0
1 --[存储函数:有返回值,创建完成后,通过select function() from dual;执行] 2 --[存储过程:由于没有返回值,创建完成后,不能使用select语句,只能使用pl/sql块执行] 3 4 --[格式] 5 --函数的声明(有参数的写在小括号里) 6 create o ...
分类:
其他好文 时间:
2021-02-18 13:54:06
阅读次数:
0
第一个Mybatis程序 一、创建数据库、数据表 sql语句如下: create database mybatis; use mybatis; create table user( id int primary key auto_increment , name varchar(50) not nu ...
分类:
其他好文 时间:
2021-02-18 13:32:04
阅读次数:
0
mySQL常用SQL语句 【零】用户管理 新建用户 CREATE USER user_name IDENTIFIED BY 'password'; 更改密码 SET PASSWORD FOR user_name = PASSWORD('newpassword'); 权限管理 SHOW GRANTS ...
分类:
数据库 时间:
2021-02-18 13:20:39
阅读次数:
0
import axios from "axios"; //第一种方式 export function request(config,success,failure) { const instance = axios.create({ baseURL:"http://123.207.32.32:800 ...
分类:
移动开发 时间:
2021-02-18 12:52:38
阅读次数:
0
Percolation API public class Percolation { public Percolation(int n) // create n-by-n grid, with all sites blocked public void open(int row, int col) ...
分类:
其他好文 时间:
2021-02-17 15:10:37
阅读次数:
0
安装 #!/bin/bash # Kali GNU/Linux Rolling apt-get install pasystray 常见错误列表 #1 (pasystray:30116): pasystray-WARNING **: [notify] unable to show notificat ...
分类:
其他好文 时间:
2021-02-17 14:46:33
阅读次数:
0
Spring Security简介 历史 添加parent和web依赖 SpringBootApplication @MapperScan@SpringBootApplication public class SpringSecurityApplication{ public static void ...
分类:
编程语言 时间:
2021-02-17 14:45:56
阅读次数:
0
Python 部分 依赖库的 pip 安装 创建虚拟环境并进入虚拟环境: conda create --name bundle python=3.7 conda activate bundle 在虚拟环境下: pip install torch 1.3.1 torchvision==0.2.2.po ...
分类:
编程语言 时间:
2021-02-17 14:23:40
阅读次数:
0
1 命令: https://www.cnblogs.com/mmit/p/12639011.html npm i cnpm -g --registry=https://registry.npm.taobao.org cnpm install -g create-react-app create-re ...
分类:
其他好文 时间:
2021-02-17 14:10:02
阅读次数:
0