我在我的项目中使用 quartz 作业调度程序。由于特定 db 的命名约定,我们必须添加前缀。
示例所有 quartz 表都以“qrtz”开头,但我们需要添加“acc_qrtz”,如果我更改表名称它会起作用吗?
最佳答案
您可以正确使用带有以下表前缀的 JDBCJobStore。
属性文件:quartz.properties
org.quartz.jobStore.tablePrefix = acc_
引用:http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/tutorial-lesson-09.html
关于java - Quartz作业java表名需要更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47125297/