| |
|
| java.lang.Object org.apache.torque.adapter.DBFactory
Method Summary | |
public static DB | create(String key) Creates a new instance of the Torque database adapter associated
with the specified JDBC driver or adapter key.
Parameters: key - The fully-qualified name of the JDBC driveror a shorter form adapter key. | public static DB | create(String key, String className) Creates a new instance of the Torque database adapter associated
with the specified JDBC driver or adapter key and the class defined. |
create | public static DB create(String key) throws InstantiationException(Code) | | Creates a new instance of the Torque database adapter associated
with the specified JDBC driver or adapter key.
Parameters: key - The fully-qualified name of the JDBC driveror a shorter form adapter key. An instance of a Torque database adapter, or null ifno adapter exists for the given key. throws: InstantiationException - throws if the adapter could not beinstantiated |
create | public static DB create(String key, String className) throws InstantiationException(Code) | | Creates a new instance of the Torque database adapter associated
with the specified JDBC driver or adapter key and the class defined.
Parameters: key - The fully-qualified name of the JDBC driveror a shorter form adapter key. Parameters: className - The fully qualified name of the adapter class An instance of a Torque database adapter. throws: InstantiationException - throws if the adapter could not beinstantiated |
|
|
|