Uploaded image for project: 'DdlUtils'
  1. DdlUtils
  2. DDLUTILS-74

DatabaseToDdl task does not add 'name' attribute to <database> tag in dumped schema XML file.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0 RC1
    • Ant Tasks
    • None
    • Oracle 10g Express Edition
      Java 1.5.0
      Windows XP
      Ant 1.5.6

    Description

      When dumping the schema file, the generated XML does not contain the 'name' attribute in root <database> tag. When trying to load the schema.xml file into SQLServer 2005 EE, DdlToDatabase complains about the missing attribute. If I manually add a name attribute, then the load works as expected.

      If possible, the dump should write all the required elements that the load requires. This would greatly facilitate automation of database tasks using Ant.

      Attachments

        1. database_name.patch
          1 kB
          Guy Davis

        Activity

          People

            tomdz Thomas Dudziak
            guy_davis Guy Davis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: