12 2014 档案
摘要:该文中使用的log框架为logbackmyBatis3.0.6左右的版本时打印sql的时候只需要配置如下属性: 源码解析:PreparedStatementLogger里面看这个log.isDebugEnabled() public Object invoke(Object proxy, Met...
阅读全文
摘要:quartz文档提到,如果在集群环境下,最好将配置项org.quartz.jobStore.txIsolationLevelSerializable设置为true问题:这个选项在mysql下会非常容易出现死锁问题。 2014-12-29 09:55:28.006 [QuartzScheduler_...
阅读全文
摘要:问题:最近使用quartz集群,总是报deadlock问题,所以需要查看一下执行的sql导致的加锁冲突。步骤:1、在要测试的库中创建指定表innodb_lock_monitorcreate table innodb_lock_monitor(x int) engine=innodb;2、执行sqlB...
阅读全文
摘要:spring 为quartz 提供了一个 继承 JobStoreCMT的 LocalDataSourceJobStore,主要是为了和spring更好的集成。public class LocalDataSourceJobStore extends JobStoreCMT { /** * Name ...
阅读全文
摘要:现象: 1 [o.q.c.ErrorLogger] - An error occurred while scanning for the next triggers to fire. 2 org.quartz.JobPersistenceException: Couldn't acquire ne...
阅读全文
浙公网安备 33010602011771号