Logo Search packages:      
Sourcecode: henplus version File versions  Download package

henplus::SQLSession Class Reference

Inheritance diagram for henplus::SQLSession:


List of all members.

Detailed Description

a SQL session.

Definition at line 31 of file SQLSession.java.

Public Member Functions

void close ()
void connect () throws SQLException, IOException
Statement createStatement ()
Connection getConnection ()
String getDatabaseInfo ()
SQLMetaData getMetaData (SortedSet tableNames)
PropertyRegistry getPropertyRegistry ()
long getStatementCount ()
Table getTable (String tableName)
long getUptime ()
String getURL ()
String getUsername ()
void interrupt ()
void print (String msg)
void println (String msg)
boolean printMessages ()
 SQLSession (String url, String user, String password) throws IllegalArgumentException, ClassNotFoundException, SQLException, IOException

Private Member Functions

void addAvailableIsolation (Map result, DatabaseMetaData meta, int iLevel, String key) throws SQLException
void printTransactionIsolation (DatabaseMetaData meta, int iLevel, String descript, int current) throws SQLException
String promptPassword (String prompt) throws IOException

Private Attributes

Connection _conn
long _connectTime
String _databaseInfo
volatile boolean _interrupted
SQLMetaData _metaData
String _password
final PropertyRegistry _propertyRegistry
int _showMessages
long _statementCount
boolean _terminated = false
String _url
String _username


class  AutoCommitProperty
class  IsolationLevelProperty

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index