Method Summary |
|
public Path | createClasspath() Add a path to the classpath for loading the driver. |
public Path | getClasspath() Gets the classpath. |
protected Connection | getConnection() Creates a new Connection as using the driver, url, userid and password
specified. |
protected AntClassLoader | getLoader() Get the classloader used to create a driver. |
protected static Hashtable | getLoaderMap() Get the cache of loaders and drivers. |
public String | getPassword() Gets the password. |
public String | getRdbms() Gets the rdbms. |
public String | getUrl() Gets the url. |
public String | getUserId() Gets the userId. |
public String | getVersion() Gets the version. |
public boolean | isAutocommit() Gets the autocommit. |
public void | isCaching(boolean value) Set the caching attribute. |
protected boolean | isValidRdbms(Connection conn) |
public void | setAutocommit(boolean autocommit) Auto commit flag for database connection;
optional, default false. |
public void | setCaching(boolean enable) Caching loaders / driver. |
public void | setClasspath(Path classpath) Sets the classpath for loading the driver. |
public void | setClasspathRef(Reference r) Set the classpath for loading the driver
using the classpath reference. |
public void | setDriver(String driver) Class name of the JDBC driver; required. |
public void | setPassword(String password) Sets the password; required. |
public void | setRdbms(String rdbms) |
public void | setUrl(String url) Sets the database connection URL; required. |
public void | setUserid(String userId) Set the user name for the connection; required. |
public void | setVersion(String version) Sets the version string, execute task only if
rdbms version match; optional. |