I have a requirement to retain Oracle SQL
comments made inside my Liquibase sql formatted changelogs. Thus I
have the following attribute set
stripComments:false
Such comments in my SQL formatted changelogs are typically supplied using the standard -- (hyphen hyphen) characters
-- DROP LINK
However, it appears that with Liquibase attempts to execute all comments, and in this example, the comment above. This causes my Liquibase update to fail with the following error:
Invalid SQL type: sqlKind = UNINITIALIZED
I have tried to
replace all occurances of
-- comment
with
/* comment */
but this also generates the same error.
Anyone have any ideas?