Not possible to register/unregister SqlGenerators during execution of changeSet

Description

During updating liquibase from 2.0.x version to the latest one was found thatSqlGeneratorFactory is caching SqlGenerators per SqlStatement

After that caching it became not possible to register/unregister SqlGenerators during executing of changeSet (for example in customChange) since SqlGenerators for InsertOrUpdateStatement are cached when change log lock is acquired. So after that SqlGeneratorFactory's register and unregister methods are useless.

Environment

Java 8, Oracle 11g

Status

Assignee

Unassigned

Reporter

Oleksandr Zaiats

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure