Home:ALL Converter>Stop Liquibase from removing Oracle hints

Stop Liquibase from removing Oracle hints

Ask Time:2022-06-30T20:47:25         Author:alex.pino

Json Formatter

I have Oracle statements containing hints. But Liquibase keeps removing them. I guess Liquibase thinks they are block comments ... for some reason.

As such I've tried adding stripComments:false but without any luck.

Example

--changeset AUTHOR:ID (stripComments:false)
Insert /*+ IGNORE_ROW_ON_DUPKEY_INDEX(CUSTOMER,CUSTOMER_PK) */ Into CUSTOMER Values (value1, value2, etc)

Does anyone have an idea of how to stop Liquibase from removing the Oracle hints?

Author:alex.pino,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/72816125/stop-liquibase-from-removing-oracle-hints
yy