Details

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

      Description

      Currently, the word "Database" is quite overloaded in Torque. It means the name of the database (as in Torque.getDefaultDB()) as well as the information about a particular database (as in the class Database).
      To add to the confusion, there is also the class name org.apache.torque.adapter.DB which holds the interface for a database adapter for the runtime.

      That class name should be changed to"Adapter".
      Also, all methods to retrieve an adapter but are named "DB" (as in Torque.getDB()) should be deprecated; and new methods which are named "Adapter" (as Torque.getAdapter()) should be added.

        Activity

        Thomas Fox created issue -
        Thomas Fox made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Thomas Fox made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development