Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-39

Wrong database name in generated XML schema with jdbc task

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 4.0-beta1
    • Component/s: Generator
    • Labels:
      None

      Description

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tfischer Thomas Fox
                Reporter:
                trickert Thoralf Rickert
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: