quartz-monitor icon indicating copy to clipboard operation
quartz-monitor copied to clipboard

do not flush the session anymore

Open zyro23 opened this issue 7 years ago • 0 comments

for some time now, the quartz plugin already takes care of flushing the session after a job was executed properly using the HibernatePersistenceContextInterceptor. and does that in a hibernate-5.2 safe way. https://github.com/grails-plugins/grails-quartz/blob/v2.0.12/src/main/groovy/grails/plugins/quartz/listeners/SessionBinderJobListener.java#L81

quartz-monitor plugin should not attempt to flush the session as that can lead to a TransactionRequiredException with hibernate-5.2.

ref. grails/grails-data-mapping#898

will send a pr.

thanks, zyro

zyro23 avatar May 06 '17 05:05 zyro23