Torque
  1. Torque
  2. TORQUE-39

Wrong database name in generated XML schema with jdbc task

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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">...

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development