db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TORQUE-39) Wrong database name in generated XML schema with jdbc task
Date Tue, 17 Apr 2012 13:33:17 GMT

     [ https://issues.apache.org/jira/browse/TORQUE-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Fox resolved TORQUE-39.
------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
         Assignee: Thomas Fox

The default schema name is now "default".
It can be overridden by setting the torque.database.name option
                
> Wrong database name in generated XML schema with jdbc task
> ----------------------------------------------------------
>
>                 Key: TORQUE-39
>                 URL: https://issues.apache.org/jira/browse/TORQUE-39
>             Project: Torque
>          Issue Type: Bug
>          Components: Generator
>    Affects Versions: 3.2
>            Reporter: Thoralf Rickert
>            Assignee: Thomas Fox
>             Fix For: 4.0
>
>
> In org.apache.torque.task.TorqueJDBCTransformTask#generateXML() is a bug in line 196.
> 195:            databaseNode = doc.createElement("database");
> 196:            databaseNode.setAttribute("name", dbUser);
> This would generate a wrong XML schema <database name="dbUser"> instead of <database
name="databaseName">...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message