Skip to content

Changed varchar length TRIGGER_NAME from 80 to 200 - #245

Merged
zemian merged 1 commit into
quartz-scheduler:masterfrom
matzeeable:master
Feb 11, 2019
Merged

zemian merged 1 commit into
quartz-scheduler:masterfrom
matzeeable:master

Conversation

@matzeeable

Copy link
Copy Markdown

After deploying quartz to a Sybase database the following error occured:

Error exec quartz initialisation com.sybase.jdbc4.jdbc.SybBatchUpdateException: JZ0BE: BatchUpdateException: Error occurred while executing batch statement: Column lengths of string type referencing and referenced columns don't match. referencing column = 'TRIGGER_NAME', referenced column = 'TRIGGER_NAME'. 

After researching I found out that tables_sybase.sql is using TRIGGER_NAME varchar(80) instead of TRIGGER_NAME varchar(200). Length should be equivalent to tables_mysql.sql.

Thanks to @iDschepe figuring this out.

@jarlah

jarlah commented Nov 12, 2018

Copy link
Copy Markdown

this will not be backwards compatible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants