Project:dool
Class List Class Hierarchy
Summary: Ctors Methods

Module dool.sql.Connection

Interface Connection

Extend interfaces:

interface Connection



Methods Summary
Statement getStatement()
          Gets a statement for this connection
bit valid()
          tests if the connect in on
int close()
          close the connection
void dump()
          print out debuging information
bit requestCancel()
          Request to abandon processing of the current command.
String dbName()
          get db name
String user()
          get user name
String host()
          get host name
String port()
          get port
String tty()
          get tty
String options()
          get options
SQLStatus status()
          Gets the current status of this connection
int subStatus()
          Gets the implementation specific status.
String errorMessage()
          Get this connection last error message
String subErrorMessage()
          Gets this connect implementation specific error message it's up to the implementatro to denit this messages


Statement getStatement()
/** * Gets a statement for this connection */
bit valid()
/** * tests if the connect in on */
int close()
/** * close the connection */
void dump()
/** * print out debuging information */
bit requestCancel()
/** * Request to abandon processing of the current command. * @return true if the cancel request was successfully dispatched, false if not. * (If not, errorMessage tells why not.) */
String dbName()
/** * get db name * @return */
String user()
/** * get user name * @return */
String host()
/** * get host name * @return */
String port()
/** * get port * @return */
String tty()
/** * get tty * @return */
String options()
/** * get options * @return */
SQLStatus status()
/** * Gets the current status of this connection */
int subStatus()
/** * Gets the implementation specific status. * it's up to the implementator to define this */
String errorMessage()
/** * Get this connection last error message * @return the error message text */
String subErrorMessage()
/** * Gets this connect implementation specific error message * it's up to the implementatro to denit this messages */