db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fischer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TORQUE-39) Wrong database name in generated XML schema with jdbc task
Date Sat, 15 Jul 2006 07:32:14 GMT
    [ http://issues.apache.org/jira/browse/TORQUE-39?page=comments#action_12421294 ] 
            
Thomas Fischer commented on TORQUE-39:
--------------------------------------

Where would you expect the "databaseName" to come from ? To my knowledge, nowhere in the generator
exists the concept of a database name, so one has to be invented. In my opinion, a sensible
default is the name of the database user

> Wrong database name in generated XML schema with jdbc task
> ----------------------------------------------------------
>
>                 Key: TORQUE-39
>                 URL: http://issues.apache.org/jira/browse/TORQUE-39
>             Project: Torque
>          Issue Type: Bug
>          Components: Generator
>    Affects Versions: 3.2.1
>            Reporter: Thoralf Rickert
>
> 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 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

        

---------------------------------------------------------------------
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