package com.company; import java.io.*; import java.util.Properties; public class Main { public static void main(String[] args) throws IOException { my ...
分类:
编程语言 时间:
2021-01-26 11:55:56
阅读次数:
0
import os def remove_filename(path_dir, start, end): files = [f for f in os.listdir(path_dir) if f.startswith(start) and f.endswith(end)] for file_nam ...
分类:
编程语言 时间:
2021-01-26 11:48:41
阅读次数:
0
当一个表中数据量特别大的时候,如果一次性把数据显示给用户,会造成页面过于庞大,体验极差,解决方法就是使用分页查询。 使用分页查询首先要会使用rownum关键字,Oracle对外提供的自动给查询结果编号的关键字,与每行数据没有关系。 注:rownum只能做 < 、<= 的判断,不能进行 > 、 >= ...
分类:
数据库 时间:
2021-01-25 11:25:56
阅读次数:
0
背景:由于技术架构的调整,数据库需要进行迁移,将表和存储过程从Oracle数据库迁移到另外一个Oracle数据库,在存储过程迁移过程中,遇到个问题,使用WM_CONCAT的存储过程编译不会通过,并且报 ORA-00904: "WM_CONCAT": invalid identifier 错误。 产生 ...
分类:
其他好文 时间:
2021-01-25 10:38:49
阅读次数:
0
? CVE-2021-2109 Weblogic远程代码执行 ? 一、漏洞简介 Oracle官方发布了漏洞补丁,修了包括 CVE-2021-2109 Weblogic Server远程代码执行漏洞在内的多个高危严重漏洞。CVE-2021-2109 中,攻击者可构造恶意请求,造成JNDI注入,执行任意 ...
分类:
Web程序 时间:
2021-01-22 11:48:03
阅读次数:
0
MySQL的介绍和安装 MySQL 分支 Oracle Percona Mariadb RDS TX MySQL 企业版本选择 5.7 : 5.7.28+ 8.0 : 8.0.18+ GA 6-12月版本,GA15-20版本以上的. 下载路径 https://downloads.mysql.com/ ...
分类:
数据库 时间:
2021-01-22 11:42:50
阅读次数:
0
用户信息存储 /** * 通过重载,配置user-detail服务<!--more--> * @param auth * @throws Exception */ @Override protected void configure(AuthenticationManagerBuilder auth ...
分类:
其他好文 时间:
2021-01-21 11:00:48
阅读次数:
0
/**<!--more--> * 通过重载,配置如果通过拦截器保护请求 * @param http * @throws Exception */ @Override protected void configure(HttpSecurity http) throws Exception {// su ...
分类:
其他好文 时间:
2021-01-21 11:00:01
阅读次数:
0
1. 导出: SQL> exp \'sys/oracle@erp as sysdba \' owner=SCOTT file=/u01/app/oracle/backup/exp_scott.dmp log=/u01/app/oracle/backup/exp_scott.log; 导出SCOTT用 ...
分类:
其他好文 时间:
2021-01-21 10:50:05
阅读次数:
0
口令过期 SQL> conn test/test ERROR: ORA-28002: 7 天之后口令将过期 Connected. SQL> 修改oracle用户密码永不过期 1、查看用户的proifle是哪个,一般是default: sql>SELECT username,PROFILE FROM ...
分类:
其他好文 时间:
2021-01-20 12:15:01
阅读次数:
0