[ 
https://issues.apache.org/jira/browse/KNOX-3495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tamás Hanicz resolved KNOX-3495.
--------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

> DB remote configuration monitor fails on Oracle with ORA-00904 on 21c and 19c
> -----------------------------------------------------------------------------
>
>                 Key: KNOX-3495
>                 URL: https://issues.apache.org/jira/browse/KNOX-3495
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 3.0.0
>            Reporter: Tamás Hanicz
>            Assignee: Tamás Hanicz
>            Priority: Major
>             Fix For: 3.1.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> createKnoxProvidersTableOracle.sql and createKnoxDescriptorsTableOracle.sql 
> declare deleted NUMBER(1) DEFAULT false NOT NULL. Oracle has no FALSE SQL 
> literal before 23ai, so table creation fails with ORA-00904: "FALSE": invalid 
> identifier and the gateway fails to start when the DB-backed remote config 
> monitor is enabled.
> The types were ported from the standard scripts (varchar→varchar2, TEXT→CLOB, 
> boolean→NUMBER(1)) but the default was not. The later Oracle scripts 
> (createKnoxIDFTrustedOidcIssuersTableOracle.sql, 
> createKnoxIDFDelegationPolicyTablesOracle.sql) already use DEFAULT 0.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to