My Oracle Support Banner

SQLcl 22.3 and Higher: LiquiBase Genschema/Generate-Schema Does Not Overwrite Older Generated Files (Doc ID 2904243.1)

Last updated on OCTOBER 30, 2023

Applies to:

Oracle SQLcl - Version 22.3 and later
Information in this document applies to any platform.
Versions previous to 22.3 SQLcl did overwrite previously generated LB files in the same target directory.

Symptoms

Environment
Windows 11
SQLcl 22..3

Problem Description
Site has a CI/CD process that automatically extracts the entire schema using :

With SQLcl 22.3, this no longer overwrites the existing files.

For example, if you already have these files:

changelog.xml
table.xml

Now running "lb genschema -split" again generates new files:
changelog1.xml
table1.xml

This breaks the entire GIT history.

Changes

 Upgraded to SQLcl 22.3.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.