Re : Java Version Requirements for Liquibase Version 3.4.2
Just starting with Liquibase - please help.
I am trying to start working with Liquibase, but I have some difficulties,
I have tested my connection string to SQL-Server with SQuirrel and the connection test succeeded.
I have tried for the last two days several solutions, but I can't figure out why the initial update fails :
This is my code :
liquibase --driver=com.microsoft.sqlserver.jdbc.SQLServerDriver --classpath="C:\Program Files\Microsoft JDBC Driver 4.0 for SQL Server\sqljdbc_4.0\enu\sqljdbc4.jar" --changeLogFile=databaseChangeLog.sql --url="jdbc:sqlserver://it-dev-01\DataCenter;databaseName=MyDatabase" --username=Liquibase --password=Liquibase update
This is the output :
Unexpected error running Liquibase: Unexpected value databaseName: parameters must start with a '--'
SEVERE 14:38 02/02/16: liquibase: Unexpected value databaseName: parameters must start with a '--'
liquibase.exception.CommandLineParsingException: Unexpected value databaseName: parameters must start with a '--'
at liquibase.integration.commandline.Main.parseOptions(Main.java:740)
at liquibase.integration.commandline.Main.run(Main.java:129)
at liquibase.integration.commandline.Main.main(Main.java:99)
Re : Just starting with Liquibase - please help.
Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/
How does Liquibase handle Oracle Tables and columns that are "quoted" ?
Re : How does Liquibase handle Oracle Tables and columns that are "quoted" ?
- <changeSet author="steve" created="Fri Jan 29 14:35:41 CST 2016" id="AddNewTable" objectQuotingStrategy="QUOTE_ALL_OBJECTS">
- <createTable schemaName="SCHEMA1" tableName="NewTable">
- <column name="COLUMN1" type="TEXT">
- <constraints nullable="true" primaryKey="false" unique="false"/>
- </column>
- </createTable>
- </changeSet>
Re : Just starting with Liquibase - please help.
Re : Just starting with Liquibase - please help.
Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/
How to load BLOB file into Oracle DB
I would like to load blob files with Liquibase but I didn't find any way to do it.
Is it a functionality available into 3.2.2 version ?
Thanks,
Mohamed
Re : How to load BLOB file into Oracle DB
This is available via this type of changeSet :
<insert tableName="TEST_BLOB">
<column name="a" valueBlobFile="01_Capture.png"/>
</insert>
by using the xsd 3.0
Regards,
Mohamed
Re : Just starting with Liquibase - please help.
Re : Just starting with Liquibase - please help.
Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/
Run Migrator pulling changelogs from a .JAR file (Spring boot)
Re : Run Migrator pulling changelogs from a .JAR file (Spring boot)
Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/
Re : Run Migrator pulling changelogs from a .JAR file (Spring boot)
Re : Run Migrator pulling changelogs from a .JAR file (Spring boot)
Principal Software Engineer
Datical, Inc. http://www.datical.com/
Re : Run Migrator pulling changelogs from a .JAR file (Spring boot)
Re : Adding Netezza extension - problem trying to get "generateChangeLog" to work with a db implemented by an extension
We wrote an extension for Netezza.
It's available on maven central and github:
http://search.maven.org/#artifactdetails|nl.inergy.liquibase|liquibase-netezza|1.0.0|jar
https://github.com/inergynl/liquibase-netezza
I hope it suits your needs.
Re : Run Migrator pulling changelogs from a .JAR file (Spring boot)
Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/
Not able to generate rollback scripts by tag in offline mode
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>${liquibase.maven.plugin.version}</version>
<configuration>
<propertyFileWillOverride>true</propertyFileWillOverride>
</configuration>
<executions>
<execution>
<id>write-application-rollback-script-sql</id>
<phase>generate-sources</phase>
<configuration>
<changeLogFile>changelog/install-hub.xml</changeLogFile>
<propertyFile>env/offline.properties</propertyFile>
<migrationSqlOutputFile>${project.basedir}/target/liquibase/RollbackPatchScript.sql</migrationSqlOutputFile>
<rollbackTag>v3.1.0-1896</rollbackTag>
</configuration>
<goals>
<goal>rollbackSQL</goal>
</goals>
</execution>
</executions>
</plugin>
offline.properties
url: offline:oracle?version=11.0&changeLogFile=changelog.csv&outputLiquibaseSql=true
Re : Not able to generate rollback scripts by tag in offline mode
Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/