You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Thomas Fox (JIRA)" <ji...@apache.org> on 2012/06/29 05:37:42 UTC

[jira] [Created] (TORQUE-216) Rename class DB to Adapter

Thomas Fox created TORQUE-216:
---------------------------------

             Summary: Rename class DB to Adapter
                 Key: TORQUE-216
                 URL: https://issues.apache.org/jira/browse/TORQUE-216
             Project: Torque
          Issue Type: Improvement
          Components: Runtime
            Reporter: Thomas Fox
            Assignee: Thomas Fox
             Fix For: 4.0


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


[jira] [Resolved] (TORQUE-216) Rename class DB to Adapter

Posted by "Thomas Fox (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TORQUE-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Fox resolved TORQUE-216.
-------------------------------

    Resolution: Fixed
    
> Rename class DB to Adapter
> --------------------------
>
>                 Key: TORQUE-216
>                 URL: https://issues.apache.org/jira/browse/TORQUE-216
>             Project: Torque
>          Issue Type: Improvement
>          Components: Runtime
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>             Fix For: 4.0-beta1
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


[jira] [Closed] (TORQUE-216) Rename class DB to Adapter

Posted by "Thomas Fox (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TORQUE-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Fox closed TORQUE-216.
-----------------------------

    
> Rename class DB to Adapter
> --------------------------
>
>                 Key: TORQUE-216
>                 URL: https://issues.apache.org/jira/browse/TORQUE-216
>             Project: Torque
>          Issue Type: Improvement
>          Components: Runtime
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>             Fix For: 4.0-beta1
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org