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

MapBuilder.vm problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3-RC1
    • 3.3
    • Generator
    • None

    Description

      I have found a small bug in the MapBuilder.vm in the doBuild() method:

      public synchronized void doBuild() throws TorqueException
      {
      ...
      //wrong code
      tMap.setOMClass( ${package}.${table.JavaName}.class );
      //new code
      tMap.setOMClass( ${packageObject}.${table.JavaName}.class );
      ...
      }

      So instead of ${package use ${packageObject, otherwise the generated code doesn't complile when one configures explicit package names for the different generated classes.

      Attachments

        Activity

          People

            monroe CG Monroe
            tamas Tamas Ruff
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: