[ 
https://issues.apache.org/jira/browse/TORQUE-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667660#action_12667660
 ] 

iluber edited comment on TORQUE-39 at 1/27/09 4:45 AM:
--------------------------------------------------------------

Thomas, you just asked me to create here an issue about this matter but it 
seems somethin that has been already pointed out.
But it is so old you maybe have forgotten about it

I would only add a consideration to the ones above: when classes are generated 
using the wrong db name, that name is used by Torque runtime when it tries to 
connect to the db.
I think that coherence should be guaranteed between the way generator and 
runtime connect to the same database

      was (Author: iluber):
    Thomas, you just asked me to create here an issue about this matter but it 
seems somethin that has been already pointed out.
But it is so old you maybe have forgotten about it

  
> 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
>
> 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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to