目前,当您尝试在现有数据库上生成更改日志时,Liquibase有一些限制.它不会导出以下类型的对象:
参考:http://www.liquibase.org/documentation/generating_changelogs.html
据我所知,我需要开发自己的liquibase.snapshot.SnapshotGenerator实现.我知道如何从Oracle获取这些类型的对象,但是我对如何从Liquibase实现这样的接口感到有点迷茫.
理想情况下,我想liquibase.database.Database界面也应该扩展为添加以下额外方法:
public abstract boolean supportsPackages();public abstract boolean supportsFunctions();public abstract boolean supportsStoredProcedures();public abstract boolean supportsTriggers();public abstract boolean supportsTypes();