[ http://issues.apache.org/jira/browse/DDLUTILS-74?page=all ]
Guy Davis updated DDLUTILS-74: ------------------------------ Attachment: database_name.patch Added the ability to set a database name during the DatabaseToDdl task. Adding the name attribute to my Ant task gives me the schema output file with the required field so that DdlToDatabase works without having to modify the schema manually. > DatabaseToDdl task does not add 'name' attribute to <database> tag in dumped > schema XML file. > --------------------------------------------------------------------------------------------- > > Key: DDLUTILS-74 > URL: http://issues.apache.org/jira/browse/DDLUTILS-74 > Project: DdlUtils > Type: Bug > Environment: Oracle 10g Express Edition > Java 1.5.0 > Windows XP > Ant 1.5.6 > Reporter: Guy Davis > Assignee: Thomas Dudziak > Attachments: database_name.patch > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira