小任班长 发布的文章

### 核心代码如下:

Class<?> cls = body.getClass();
// 取出bean里的所有方法
Method[] methods = cls.getDeclaredMethods();
Field[] fields = cls.getDeclaredFields();
for (Field field : cls.getDeclaredFields()) {
    if (field.getName().equals("xxx")) {
        field = cls.getDeclaredField("xxx");
        field.setAccessible(true);
        field.set(body, "value");// 给指定的属性赋值
        break;
    }
}

-- ①查看产生死锁的表:
select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName
from sys.dm_tran_locks where resource_type='OBJECT'
-- 其中spid表示锁表的进程,tableName表示被锁的表名。

-- ②“杀死”死锁进程:
kill spid

At the P30 series of national bank conferences in April, Huawei announced the revolutionary “Ark Compiler”, which significantly improved performance through architecture-level optimization, especially the implementation of machine code throughout the process, running applications efficiently, and completely solving Android applications. Inefficiency caused by "execution".

Huawei claims that the Ark compiler can improve system operation fluency by 24%, system response speed by 44%, and third-party applications can be improved by 60% after recompilation!

Not only that, Yu Chengdong announced at the time that the Huawei Ark compiler will open source to the industry and appeal to APP developers and developers to use it as soon as possible.

At the China Open Source Summit 2019 held in Shanghai, Xiao Ran, vice president of Huawei's strategy and industry development, said that the Huawei Ark compiler will be officially open source in August this year.

Xiao Ran said that the majority of partners and application developers can join the "Ark of Friends Circle" together, "we work together to build a terminal ecological ark to build a fair, open, healthy and win-win global ecosystem."
66829-9pem2ojwudl.png

It is understood that the Huawei Ark compiler is from Huawei Ark Lab, which was developed by Zhou Zhide, the world's top editor and authoritative expert. It took nearly 10 years to build.

执行sql提示错误:
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

出现原因大部分是因为oracleSID不对,排查方法:

export ORACLE_SID=xxxx --设置实例
echo $ORACLE_SID --查看当前实例

查看监听状态

lsnrctl status

随后重新登录,执行sql就不会提示报错。

树莓派4 配置如下:
这次的更新,主要体现在以下十大方面:
75862-ej7lu26ws1e.png
1、采用四核 64 位的 ARM Cortex-A72 架构 CPU,型号为博通 BCM2711 SoC,主频达 1.5GHz,与上一代相比性能提升 3 倍。

2、可选 1G、2G 或 4G 的 LPDDR4 内存。

3、千兆以太网

4、双频 802.11ac 无线网络

5、蓝牙 5.0 技术

6、配备了两个 USB 3.0 和两个 USB 2.0 端口

7、支持双显示器,分辨率高达 4K

8、VideoCore VI GPU,支持 OpenGL ES 3.x

9、支持硬件解码 4K60p 的 HEVC 视频

10、兼容此前发布的树莓派

与上一代产品树莓派 3B+ 相比,有直接且明显的提升。
88843-2usehxpvu6l.png

售价情况

RAM Retail price
1GB $35
2GB $45
4GB $55

需要的小伙伴激动起来吧。

官方介绍链接:https://www.raspberrypi.org/blog/raspberry-pi-4-on-sale-now-from-35/

免责声明
本博客部分内容来自于互联网,不代表作者的观点和立场,如若侵犯到您的权益,请联系[email protected]。我们会在24小时内进行删除。