Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Oracle 23] VARCHAR2(1) breaking change #1161

Open
dcdh opened this issue Oct 8, 2024 · 0 comments
Open

[Oracle 23] VARCHAR2(1) breaking change #1161

dcdh opened this issue Oct 8, 2024 · 0 comments

Comments

@dcdh
Copy link

dcdh commented Oct 8, 2024

Current behavior

Job can no more be registered inside job detail table.

Caused by: org.quartz.JobPersistenceException: Couldn't store job: ORA-12899: valeur trop grande pour la colonne "QUARKUS"."QRTZ_JOB_DETAILS"."IS_DURABLE" (réelle : 5, maximum : 1)

Expected behavior

Job should be stored and next executed as expected.

Additional information

Oracle 23 has introduced a breaking change regarding the way a boolean is represented.
Before Oracle 23 a boolean used a VARCHAR2(1) and this way has been supported from many years by the oracle jdbc driver.

Now, Oracle 23 has introduced a new type BOOLEAN to represent a boolean type.
But, the driver is no more compatible - except if an additional property is used to deactivate the new way to handle boolean type.

Full story here with a reproducer : quarkusio/quarkus#43720

How to fix

Provide an update script for Oracle database 23 and plus to update boolean columns VARCHAR2(1) to BOOLEAN
or
provide a new full initialization tables for Oracle database 23 and plus.

Multiples tables are impacted.

Regards,
Damien

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

No branches or pull requests

1 participant