Uploaded image for project: 'Liquibase Core'
  1. CORE-3323

generateChangeLog for mssql server will only generate empty changelog file

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects versions: 3.6.1, 3.6.2
    • Fix versions: None
    • Components: Database Support
    • Environment:

      Windows, commandline

    • Sprint:

      Description

      Calling

      liquibase.bat --classpath="C:/Program Files/sqljdbc_7.0/deu/mssql-jdbc-7.0.0.jre8.jar" --driver=com.microsoft.sqlserver.jdbc.SQLServerDriver --changeLogFile=db.changelog.xml --url="jdbc:sqlserver://localhost:5555;databaseName=test" --username=test --password=test generateChangeLog

      will only generate a db.changelog.xml

      with the following header:

      <?xml version="1.1" encoding="UTF-8" standalone="no"?>
      <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd"/>

      nothing more will be written to the file - but I have 20 tables with data in the db.

        Attachments

          Activity

            People

            • Reporter:
              powerstat Kai Hofmann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: