|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.wrq.apptrieve.jdbc.ApptrieveDriver
public class ApptrieveDriver
Constructor Summary | |
---|---|
ApptrieveDriver()
Your basic constructor |
Method Summary | |
---|---|
boolean |
acceptsURL(java.lang.String url)
Discovers whether or not this driver can open a connection to the given URL. |
java.sql.Connection |
connect(java.lang.String urlIn,
java.util.Properties info)
Creates a connection to the Host Integrator server. |
static void |
debug(java.lang.String classname,
java.lang.String methodname)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
boolean param1)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
int param1)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
int param1,
boolean param2)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
int param1,
double param2)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
int param1,
int param2)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
int param1,
java.lang.Object param2)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
int param1,
java.lang.Object param2,
int param3)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
java.lang.Object param1)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
java.lang.Object param1,
int param2)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
java.lang.Object param1,
java.lang.Object param2)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3,
java.lang.Object param4)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3,
java.lang.Object param4,
java.lang.Object param5)
|
static void |
debug(java.lang.String classname,
java.lang.String methodname,
java.lang.Object param1,
java.lang.Object param2,
java.lang.Object param3,
java.lang.Object param4,
java.lang.Object param5,
java.lang.Object param6)
|
static void |
debugException(java.lang.String classname,
java.lang.String methodname,
java.sql.SQLException e)
|
static java.lang.String |
debugMessage(java.lang.String resource,
java.lang.Object msg)
|
int |
getMajorVersion()
Gets the major version for this driver |
int |
getMinorVersion()
Gets the minor version for this driver |
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties info)
The getPropertyInfo method allows a generic GUI tool to discover what properties it should prompt a human for in order to get enough information to connect to a database. |
static boolean |
isDebug()
|
boolean |
jdbcCompliant()
Returns the whether or not this driver supports a JDBC compliant implementation. |
static java.lang.Object |
throwUnsupported(java.lang.String resource,
java.lang.String method)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApptrieveDriver()
Method Detail |
---|
public boolean acceptsURL(java.lang.String url)
acceptsURL
in interface java.sql.Driver
url
- java.lang.String - The URL for connecting to the database.
Driver.acceptsURL(java.lang.String)
public java.sql.Connection connect(java.lang.String urlIn, java.util.Properties info) throws java.sql.SQLException
jdbc:apptrieve:table[;aads=aads_name][;domain=domain_name][;serverid=host_addr] [;database=model][;session=sessionpool] [;user=name][;password=xxx][;variables.varname=value]Notes:
In addition to specifying connection properties in the url parameter, the same properties can also be specified in the info parameter Properties object. This object can include name-value pairs for aads, domain, serverid, database, session, user, and password. If a connection value is specified in both the info and url parameters, the url setting takes precedence.
connect
in interface java.sql.Driver
urlIn
- java.lang.String - the connection URL for the databaseinfo
- java.util.Properties - the properties object to use in connecting
java.sql.SQLException
- if a database-access error occurs.Driver.connect(java.lang.String, java.util.Properties)
public int getMajorVersion()
getMajorVersion
in interface java.sql.Driver
Driver.getMajorVersion()
public int getMinorVersion()
getMinorVersion
in interface java.sql.Driver
Driver.getMinorVersion()
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
getPropertyInfo
in interface java.sql.Driver
url
- java.lang.String - The URL of the database to connect to.info
- Properties - A proposed list of tag/value pairs that will be sent on
connect open.
java.sql.SQLException
Driver.getPropertyInfo(java.lang.String, java.util.Properties)
public boolean jdbcCompliant()
jdbcCompliant
in interface java.sql.Driver
public static boolean isDebug()
public static void debug(java.lang.String classname, java.lang.String methodname)
public static void debug(java.lang.String classname, java.lang.String methodname, java.lang.Object param1)
public static void debug(java.lang.String classname, java.lang.String methodname, int param1)
public static void debug(java.lang.String classname, java.lang.String methodname, boolean param1)
public static void debug(java.lang.String classname, java.lang.String methodname, java.lang.Object param1, java.lang.Object param2)
public static void debug(java.lang.String classname, java.lang.String methodname, int param1, int param2)
public static void debug(java.lang.String classname, java.lang.String methodname, int param1, java.lang.Object param2)
public static void debug(java.lang.String classname, java.lang.String methodname, java.lang.Object param1, int param2)
public static void debug(java.lang.String classname, java.lang.String methodname, int param1, boolean param2)
public static void debug(java.lang.String classname, java.lang.String methodname, int param1, double param2)
public static void debug(java.lang.String classname, java.lang.String methodname, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
public static void debug(java.lang.String classname, java.lang.String methodname, int param1, java.lang.Object param2, int param3)
public static void debug(java.lang.String classname, java.lang.String methodname, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4)
public static void debug(java.lang.String classname, java.lang.String methodname, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5)
public static void debug(java.lang.String classname, java.lang.String methodname, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5, java.lang.Object param6)
public static void debugException(java.lang.String classname, java.lang.String methodname, java.sql.SQLException e)
public static java.lang.String debugMessage(java.lang.String resource, java.lang.Object msg)
public static java.lang.Object throwUnsupported(java.lang.String resource, java.lang.String method) throws java.sql.SQLException
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |