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
adaptor for the runtime.
I'd propose to resolve that confusion by changing that class name to
"Adapter".
Also, deprecate all methods to retrieve an adapter but are named "DB" (as
in Torque.getDB()); and add new methods which are named "Adapter" (as
Torque.getAdapter()).

Any objections, comments, suggestions ?

    Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to