我的数据库是mysql5.7,innodb,已提交隔离级别。我害怕死锁,所以我保持mysqlsql语句简单,只有:
insert into ... where ...insert into ... where ... on duplicate key update每个sql将只有上面的一条语句。例如:连接exec insert into ... where ...;一次,永远不要执行多语句insert ... where ...; update ..
LOGGER.info(" out of getUserByIdJOIN ServiceImpl in UserDao------>>>>>>");197连接root@localhost (dbname)
197 Connect root@localhost on itaf4 197 /* /*-连接器-java-5.1.42AS net_write_timeout,@@q