database - Liquibase support for Postgres and Oracle -


this question related liquibase.

our application code base has support oracle , postgres. 1 product on oracle , other on postgres. there changesets common both products. there tool can execute liquibase changesets database agnostic , tweak them based on target database?

if more information needed or if unclear elaborate.

thank you.

yes, possible, can tedious. 1 of key tools use dbms attribute on changesets - marks particular changeset being applicable dbms. useful things have use platform-specific sql, such in stored procedures , functions. key technique using properties (liquibase calls them changelog parameters) things vary data type used on column depending on dbms. search 'liquibase changelog parameters' documentation on this.

as run problems, feel free post new questions here on stackoverflow - there large community of users , developers can help. if questions focused single issue @ time , include:

  1. this did (full command, changelog, etc.)
  2. this expected happen (expected output command, state of database)
  3. this happened (actual full output command, stack traces, state of database)

Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -