1.Required(默认属性): 如果存在一个事务,则支持当前事务。如果没有事务,则开启一个新的事务。 2.Supports支持当前事务,如果当前没有事务,就以非事务的方式执行 3.Mandatory使用当前的事务,如果没有事务,就抛出异常 4.Requires_New新建事务,如果当前存在事务, ...
分类:
编程语言 时间:
2021-04-01 13:32:08
阅读次数:
0
CS DES任意长度密钥加密 private static string Encrypt2(string str, string sKey) { string s = ""; using (System.Security.Cryptography.DESCryptoServiceProvider d ...
分类:
其他好文 时间:
2021-04-01 12:53:38
阅读次数:
0
闲来无聊,回忆一下这些年玩过的ide.看看哪些你也玩过. QBasic 第一个ide,兴奋程度也是最大的,从此进入了码农行列 VisualBasic 可以拖界面了,成就感爆棚 Turbo C c语言,真正开始写了写代码 C-Free 有界面的ied,终于摆脱了黑窗口 Visual C++ 6.0 开 ...
分类:
其他好文 时间:
2021-03-31 12:30:18
阅读次数:
0
1、Spring 框架概述 (1)轻量级开源 JavaEE 框架,为了解决企业复杂性,两个核心组成:IOC 和 AOP (2)Spring5.2.6 版本 2、IOC 容器 (1)IOC 底层原理(工厂、反射等) (2)IOC 接口(BeanFactory) (3)IOC 操作 Bean 管理(基于 ...
分类:
编程语言 时间:
2021-03-31 12:06:54
阅读次数:
0
创建用户create user pidms_user identified by 'pidms_user';添加权限grant all privileges on *.* to pidms_user@'%' identified by 'kcm123456'; flush privileges; ...
分类:
数据库 时间:
2021-03-31 12:06:09
阅读次数:
0
前提:安装node.js 1、监控工具:# npm install clinic -g 2、压测工具:# npm i autocannon -g 3、使用监控工具启动前端服务:# clinic doctor -- node server.js 4、使用压测工具压测(并发100持续20秒):# aut ...
分类:
Web程序 时间:
2021-03-31 11:53:36
阅读次数:
0
如果一个在根节点,另一个在其子树,返回root没毛病。 如果不是同时大于或小于,因为二叉搜索树性质,会分别在两边,返回root没毛病。 如果同时在一边,则当前节点不会是最近公共祖先,往子树递归,没毛病。 *注意要写3个return 剑指 Offer 68 - I. 二叉搜索树的最近公共祖先 /** ...
分类:
其他好文 时间:
2021-03-31 11:34:14
阅读次数:
0
vi readreply.sh #!/bin/bash#第一部分 echo -n "What is your name?"readecho "Your name is $REPLY" #已将变量的值从标准输入读到REPLY #第二部分echo -n "What is the name of your ...
分类:
系统相关 时间:
2021-03-30 13:53:42
阅读次数:
0
现象: 执行 quasar create app 卡死在: Quasar downloading quasar starter kit... 分析: 由于 github.com 访问太慢,导致卡死。 下载到本地,避免从 github.com 上拉取。 解决: cd ~ git clone git@g ...
分类:
其他好文 时间:
2021-03-30 13:32:36
阅读次数:
0
博客迁移计划11 \(\rightarrow\) 戳我看POJ原题 Cow Relays Time Limit: 1000MS $ \quad $ Memory Limit: 65536K Description For their physical fitness program, \(N (2 ...
分类:
其他好文 时间:
2021-03-30 13:17:03
阅读次数:
0