Hi. I have a newbie-question about transactions and persisted jobs in quartz.
I have problems understanding what to do base on this sentence, taken from the javadoc of setDataSource in SchedulerFactoryBean:
I have a situation where I have a bean referencing a SchedulerFactoryBean, and hence getting a reference to a Scheduler.A Spring-specific subclass of Quartz' JobStoreCMT will be used. It is therefore strongly recommended to perform all operations on the Scheduler within Spring-managed (or plain JTA) transactions. Else, database locking will not properly work and might even break (e.g. if trying to obtain a lock on Oracle without a transaction).
What I have done is to use the setTransactionManager-method on the SchedulerFactoryBean to make it have a JDBCTransactionManager, but this is probably not what is meant here, or?
Does it want me to a transactionTemplate and all that stuff around every call to the scheduler?
Regards


Reply With Quote