自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(39)
  • 资源 (5)
  • 收藏
  • 关注

原创 ‘factoryBeanObjectType‘: java.lang.String

由于mybatis-plus内部引用的mybatis版本过低导致,重新引入mybatis新版本即可。

2024-04-06 23:30:00 89

原创 Cannot connect to the Docker

执行docker基础命令失败!Cannot connect to the Docker

2023-10-28 18:27:52 398

原创 程序设计原则

1、开闭原则2、依赖倒置原则3、单一职责4、接口隔离原则5、里氏替换原则6、迪米特法则7、合成复用原则。

2022-09-18 15:48:15 108

原创 maven setting 配置

jdk 配置 <profile> <id>jdk-1.8</id> <activation> <activeByDefault>true</activeByDefault> <jdk>1.8</jdk> </activation></profile>阿里镜像 <!-- 都可...

2021-03-07 13:56:55 243

原创 linux 添加开放端口

vi /etc/sysconfig/iptables:OUTPUT ACCEPT [1:156]-A INPUT -m state --state NEW -m tcp -p tcp --dport 8080-j ACCEPT或-A INPUT -p tcp -m state --state NEW -m tcp --dport 8080-j ACCEPT然后重启防火墙service iptables restart-----------------------------...

2021-01-22 23:12:00 313

原创 冲突的发行版:https://typora.io:443 linux/ InRelease (期望 linux/ 但得到 )

sudo vi /etc/apt/sources.list将提示冲突的给删除掉例如删除 https://typora.io:443 linux/再次执行sudo apt-get update

2021-01-16 22:13:35 3107 3

原创 查询数据集合-- 并集、交集

union用来求两个集合的并集;intersect用来求两个集合的交集;except用来求在第一个集合中存在,而在第二个集合中不存在的记录。关键字后面都可以接 all 如果不接all 操作集合将会去除重复值。...

2021-01-16 15:38:08 433

原创 db2更新并查询更新前后的数据

select * from final table(update schema.tableName set age = 'xxx' where condition); ---更新后的数据select * from oldtable(update schema.tableName set age = 'xxx' where condition); --更新前的数据

2021-01-16 15:37:53 1056

原创 db2更新语句

update tableName set age = 18 where condition;update(select * from tableName where condition) set age = 18 ;

2021-01-16 15:37:35 955

原创 db2删除语句

delete from tableName where condition;delect from(select * from tableName where condition);alter table tableName activate not logged initially with empty table;

2021-01-16 15:36:43 1663

原创 复制数据表结构

create table newTableName like oldTableName in 表空间;create table newTableName as ( select * from oldTableName ) definition only in 表空间;

2021-01-16 15:36:21 90

原创 was(WebSphere Application Server)进程挂起

服务器-->服务器类型-->WebSphere Application Server通信-->服务器基础结构-->管理-->定制服务名称:com.ibm.websphere.threadmonitor.interval值:0

2021-01-16 15:36:03 514

原创 重启was(WebSphere Application Server)

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/temp --应用历史临时目录/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin --01was/opt/IBM/WebSphere/AppServer/bin --总的wassh stopServer.sh server1sh startServer.sh server1ps -ef|grep server1kill -9 12312...

2021-01-16 15:35:29 585

原创 打印was日志

tail -f /opt/IBM/............./SystemOut.log

2021-01-16 13:02:52 208

原创 linux 安装过程中未设置 root密码

sudo passwd root[sudo] password for you: ---> 输入你的密码(你现在这个用户的密码)Enter new UNIX password: ---> 设置root 密码Retype new UNIX password: ---> 重复密码done

2021-01-16 13:01:36 983

原创 db2分页查询

select * from(select b.*,rownumber() over() as rn from( select * from <tableName> ) as b) as a where a.rn between <start_number> and <end_number>;

2021-01-09 22:15:20 299

原创 导入数据设置字符集

modified by codepage = 1208db2 "export to tableName.ixf of ixf modified by codepage = 1208 select * from schema.tableName" ;

2021-01-09 22:14:53 247

原创 删除schema

drop schema "schemaName" restrictdb2 "drop schema |"schemaName"| restrict"

2021-01-09 22:12:56 1297

原创 创建索引

普通索引create indes "schema"."indexName" on "schema"."tableName"("字段1" asc, "字段2" asc)compress no allow reverse scans;唯一索引create unique index "schema"."indexName" on "schema"."tableName"("字段" asc)xompress no allow reverse scans;主键约束索引alte...

2021-01-09 22:12:18 484 1

原创 查找并解锁表

select * from sysibmadm.locks_held; ---查看锁表情况db2 "force applications(56001)" --解锁

2021-01-09 22:10:27 265

原创 只查询一条数据或抽样查询数据

select * from tableName fetch first 1 rows only;select * from tableName order by rand() fetch first 1 rows only;-------------------------------select * from staff tablesample bernoulli(8) repeatable(586) order by id;--说明:从staff 表中,采用bernoulli 抽样...

2021-01-09 22:09:04 806

原创 数据迁移(迁移数据库)

db2 connect to cbrcdbdb2look -d cbrcdb -z schema -e -o schema.sql --不带dropdb2look -d cbrcdb -z schema -e -dp -o schema.sql --带dropdb2 -tvf schema.sql | tee schema.logdb2 disconnect all

2021-01-09 22:04:00 71

原创 数据导入导出

db2 connect to schemadb2 "export to tableName.ixf of ixf select * from schema.tableName"db2 "export to tableName.del of del select * from schema.tableName"db2 "load from tableName.ixf of ixf replace into schema.tableName"db2 "load from tableName...

2021-01-09 22:02:23 72

原创 增加字段

alter table tableName add column columns varchar(100);comment on column tableName.columns is "xxxcolumns"

2021-01-09 22:00:25 100

原创 修改表结构

alter table tableName alter column columns set data type varchar(50);

2021-01-09 21:58:19 49

原创 @Autowired 提示错误

将Error提示改为Warning即可

2020-03-16 21:55:28 826

原创 jdk配置

JAVA_HOME C:\Program Files\Java\jdk1.6.0_45CLASSPath %JAVA_HOME%\lib;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;Path %JAVA_HOME%\bin;(加在变量值的最后面)

2020-03-11 23:02:22 71

原创 sudo: add-apt-repository:找不到命令

sudoapt-get install software-properties-common

2020-03-11 19:00:28 13754 2

原创 重组数据表

db2 connect to cbrcdb //连接数据库db2 reorg table table_name //重组对应的数据表

2020-02-19 16:43:45 383

原创 MySQL 1251

使用navicat for mysql 连接MySQL8.X版本时,提示:1251 错误。原因:新版密码加密方式不一样。解决方案:mysql -uroot -p(输入密码) 进入mysql执行下面三个命令use mysql;ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_passwo...

2020-02-07 20:51:31 226

原创 add-apt-repository command not found

错误:add-apt-repository command not found代码:sudo apt-get install python-software-propertiessudo apt-get updatesudo apt install software-properties-commonsudo apt-get update

2019-10-24 19:32:46 149

原创 elementary 安装常用软件

1) 安装wps :下载安装包:https://www.wps.cn/sudo dpkg -iwps-office_11.1.0.8865_amd64.deb或 sudo apt-get installwps-office_11.1.0.8865_amd64.deb2) 安装搜狗输入法下载安装包:https://pinyin.sogou.com/linux/?...

2019-10-23 21:05:04 4020

原创 elementary 安装jdk

个人实践记录1、下载jdk:官网 其他下载地址:七牛云链接 8u212 七牛云链接 8u2212、解压:sudo mv ~/Downloads/dk-8u212-linux-x64.tar.gz /usr/local/sudo tar zxvf/usr/local/jdk-8u212-linux-x64.tar.gz3、配置环境变量su...

2019-10-23 20:40:39 384

原创 maven安装与配置

 前往https://maven.apache.org/download.cgi下载mavenDos下 输入 mvn  -v(查看版本以及是否安装通过)  修改conf\settings.xml文件 &lt;localRepository&gt;/path/to/local/repo&lt;/localRepository&gt;更换自己的仓储文件位置&...

2019-01-29 22:35:37 103

原创 properties配置文件中 不能输入中文

 Eclipse--&gt;Window-Preferences--&gt;General--&gt;Content Types,右侧Text--&gt;java Properites File 在Default encoding:输入UTF-8,点击Update即可。

2018-08-03 17:08:10 3890

原创 linux下开放8080端口

//在防火墙中打开8080端口 [root@localhost bin]# firewall-cmd –zone=public –add-port=8080/tcp –permanent 或:    iptables -I INPUT -p tcp --dport 8080 -j ACCEPTusage: see firewall-cmd man pagel-cmd: error:...

2018-08-03 14:29:55 21060

原创 Job for mysqld.service failed because the control process exited with error code. See "systemctl sta

Mysql服务启动失败可尝试一下方法解决                                                   [root@localhost zyjh6666]# mkdir -p /var/run/mysqld/[root@localhost zyjh6666]# [root@localhost zyjh6666]# /etc/init.d/m...

2018-07-26 12:50:54 3067 1

原创 Linux下安装mysql

下载:http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.12-1.el6.x86_64.rpm-bundle.tar//查看是否下载mysql# rpm -qa|grep mysql//卸载rpm -e --nodeps数据库名(查询到的数据库名)//解压下载的数据库包# tar ...

2018-07-23 12:40:21 95

原创 Linux下安装配置Tomcat

Tomcat下载:http://tomcat.apache.org/download-80.cgi //判断系统自带的jdk[root@localhost zyjh6666]# java -versionopenjdk version "1.8.0_131"OpenJDK Runtime Environment (build 1.8.0_131-b12)OpenJDK 64...

2018-07-20 15:27:01 771

ssm 对应jdk1.8的bin包

自己用的ssm中的bin包 .

2018-09-13

windows环境下 使用的solr

该solr 可以自动同步mysql数据库,要想同步其他数据库,可自行修改链接数据库配置 。已添加分词功能。下载后, 只需要修改部分路径即可。

2018-08-03

linux环境下 使用的solr

该solr 可以自动同步mysql数据库,要想同步其他数据库,可自行修改链接数据库配置 。已添加分词功能。下载后, 只需要修改部分路径即可。

2018-08-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除