Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Quartz job java table name change needed

I am using quartz job scheduler in my project. Due to naming convention in particular db , we have to add prefix .

Example all quartz tables start with "qrtz" ,but we need add "acc_qrtz" , if i change the tables names will it works??

like image 959
chandrashekar.n Avatar asked Feb 27 '26 14:02

chandrashekar.n


1 Answers

You could use JDBCJobStore with the Table Prefix with below propertly.

Property File: quartz.properties

org.quartz.jobStore.tablePrefix = acc_

Reference: http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/tutorial-lesson-09.html

like image 195
Pratiyush Kumar Singh Avatar answered Mar 02 '26 05:03

Pratiyush Kumar Singh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!