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

Enhanced Database Mapping info

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2
    • 3.3
    • Generator, Runtime, Test Project
    • None

    Description

      The attached zip file makes the Database Map information much more robust and useful. Basic features added:

      If an application needs a fully populated Database Map structures, this can be done via the DatabaseMap.initialize() method.

      *Map classes will now preserve XML order and store many more XML attritbutes, including Inheritance information.

      MapBuilder template re-done to be more readable and expandable.

      The TableMap object can be used to get the associated Peer, OM, and Manager (if applicable) Class objects.

      Access to TableMap structures made easier in Peer ( existing method changed to public) and OM classes. (The theory here is that TableMap should know all this info and there should be an easy way to get there).

      Test-project now has DatabaseMap test suite that tests most of these features.

      Some misc Javadoc/synchronizing changes.

      Has been tested with aliased tables, beans, managers, DB schema's with different packages during development (test suite doesn't test all of these combinations yet..)

      Attachments

        1. TemplatesUpdatedWithDeepCopyPatch.zip
          19 kB
          CG Monroe
        2. MapEnhancements-v060605.zip
          71 kB
          CG Monroe
        3. MapEnhancements-ChangeLog.txt
          6 kB
          CG Monroe

        Activity

          People

            tfischer Thomas Fox
            monroe CG Monroe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: