logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

spring配置详解

1.前言公司老项目的后台,均是基于spring框架搭建,其中还用到了log4j.jar等开源架包。在新项目中,则是spring和hibernate框架均有使用,利用了hibernate框架,来实现持久化,简化sql操作等。Hibernate配置文件可以有两种格式,一种是 hibernate.properties,另一种是 hibernate.cfg.xml。后者稍微方便一些,当增加hbm映射文..

netstat命令不可用 安装net-tools 离线

有网的话yum install net-tools没有网,下载rpm文件net-tools-2.0-0.22.20131004git.el7.x86_64.rpm https://centos.pkgs.org/7/centos-x86_64/net-tools-2.0-0.22.20131004git.el7.x86_64.rpm.html rpm -ivh net-tools-2.0-0.22

JDBC实现MySQL插入大量数据(批量操作+事务提交)

public int jdbcInsert(String tabletarget, List<List<String>> list, JSONArray jsonArray, String url, String username,String password) throws ClassNotFoundException, SQLExcep

Mysql创建存储过程时出现ERROR 1064错误

ERROR 1064 (42000):ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax touse near 'DECLARE i INT DEFAULT 0'

kafka 安装 测试 could not be established. Broker may not be available

liulux服务器,安装启动kafka服务kafka_2.12-2.2.0.tgz解压安装包,修改config目录中zookeeper.properties和server.properties配置文件,一般只需要修改日志和数据保存的路径,端口使用默认即可zookeeper.properties可以修改dataDir和端口dataDir=/home/kkk/kafka/zookeeperserver

for update的作用和用法

一、for update定义for update是一种行级锁,又叫排它锁,一旦用户对某个行施加了行级加锁,则该用户可以查询也可以更新被加锁的数据行,其它用户只能查询但不能更新被加锁的数据行.如果其它用户想更新该表中的数据行,则也必须对该表施加行级锁.即使多个用户对一个表均使用了共享更新,但也不允许两个事务同时对一个表进行更新,真正对表进行更新时,是以独占方式锁表,一直到提交或复原该事务为止。行锁永

#mysql
暂无文章信息