Data retrieval using quartz

前端 未结 2 1215
粉色の甜心
粉色の甜心 2021-01-24 01:46

I need help in retrieving the data from database using Quartz. I am reading the hibernate properties from config.xml in the main class and using those properties I tried to retr

2条回答
  •  囚心锁ツ
    2021-01-24 02:15

    If you are trying to created a scheduled job that updates your database how about using Spring Task.

    Here is an example: How to stop jobs scheduled using spring task

    Then just call your method that performs your database update.

提交回复
热议问题