月份:2018年9月

CentOS修改时区

# timedatectl list-timezones |grep Sha …

解决PG创建数据库报must be member of role “xxx”问题

在创建数据库时指定owner,或修改数据库owner时,报must be m …

解决修改PG端口后psql -U postgres报could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?问题

#修改端口 vi /xxxx/pgsql/10/data/postgresq …

PostgreSQL数据库MyBatis insert返回自增主键

<insert id=”save” parameterType=”co …

Java中使用synchronized锁定字符串

synchronized (someString){ //xxxx } 如果 …

SpringBoot Mybatis事务

application增加注解 @EnableTransactionMana …