I get the changelog from PostgreSQL database with the command:
- liquibase \
- --driver=org.postgresql.Driver \
- --classpath="C:\db_drivers\postgresql-9.3-1102.jdbc3.jar" \
- --changeLogFile="./postgresql_changelog.xml" \
- --url="jdbc:postgresql://localhost:5432/postgres" \
- --username=schema_name_here \
- --password=************** \
- --logLevel=debug \
- --defaultSchemaName=sep \
- generateChangeLog
Here is a fragment of postgresql_changelog.xml:
- ... ...
Now I want to create the same objects and the same relationships in another database (Oracle):
- liquibase --driver=oracle.jdbc.OracleDriver --classpath="C:\db_drivers\ojdbc14.jar" --changeLogFile="./postgresql_changelog.xml" --url="jdbc:oracle:thin:@ip_here:orabeta" --username=*** --password=*** update
But it does not work: ORA-00902
It is possible to get changelog from one database and update another database in different RDBMS server from this changelog? I need to get automatic data type conversion.