Prefer SelectFromDatabaseChangeLogStatement and SelectFromDatabaseChangeLogLockStatement over RawSqlStatement

Description

In liquibase.snapshot.SnapshotGeneratorFactory.has(DatabaseObject, Database) there is a RawSqlStatement:

It's far more nice to use either liquibase.statement.core.SelectFromDatabaseChangeLogStatement or liquibase.statement.core. (In fact, it wouldn't have killed my plugin )

Environment

Liquibase 3.6.3 on Oracle, but not important for this.

Reporter

Jurrie Overgoor

Affects versions

Priority

Minor
Configure