|
jxDBCon 0.9z | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourceforge.jxdbcon.AbstractConnection | +--org.sourceforge.jxdbcon.postgresql.PGConnection | +--org.sourceforge.jxdbcon.postgresql.NetConnection
This class implements PGConnection via a Socket connection using PostgreSQL's Frontend/Backend network protocol.
Field Summary | |
private Thread |
protoThread
The protocol handler's thread. |
Fields inherited from class org.sourceforge.jxdbcon.postgresql.PGConnection |
autoCommit, clientEncoding, dbEncoding, isBigEndian, oidTypeMap |
Fields inherited from class org.sourceforge.jxdbcon.AbstractConnection |
info, typeMap, warning |
Fields inherited from interface org.sourceforge.jxdbcon.postgresql.PGConstants |
AUTH_REQ_CRYPT, AUTH_REQ_KRB4, AUTH_REQ_KRB5, AUTH_REQ_MD5, AUTH_REQ_OK, AUTH_REQ_PASSWORD, AUTH_REQ_SCM, NUMERIC_DSCALE_MASK, NUMERIC_NAN, NUMERIC_NEG, NUMERIC_POS, NUMERIC_SIGN_MASK, PG_VERSION_STR, PG_VERSION_STR1, TRIGGER_TYPE_BEFORE, TRIGGER_TYPE_DELETE, TRIGGER_TYPE_INSERT, TRIGGER_TYPE_ROW, TRIGGER_TYPE_UPDATE |
Fields inherited from interface org.sourceforge.jxdbcon.postgresql.PGInfoKeys |
FORCECLIENTENC, OPTIONS, PROTOVERSION, SETTIMEZONE, STRICTSCHEMA, TTY, USEASYNC, USECLIENTENC, USEDBENC, USESSL |
Fields inherited from interface org.sourceforge.jxdbcon.InfoKeys |
CATALOG, DESCRIPTION, DRIVER, HOST, PASSWORD, PORT, SUBDRIVER, USER |
Fields inherited from interface java.sql.Connection |
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
Constructor Summary | |
NetConnection()
|
Method Summary | |
protected PGProtocol |
connect(Properties info)
Open a connection. |
Methods inherited from class org.sourceforge.jxdbcon.postgresql.PGConnection |
close, commit, createStatement, exec, exec, exec, executeBatch, executeSQL, fillPropertyInfo, findFunc, findFunc, findFunc, getAutoCommit, getConversionContext, getEscapeContext, getGeneratedKeys, getMetaData, getProtocol, getResultSet, getResultSet, getTransactionIsolation, getType, getType, getTypeOid, open, prepareCall, prepareStatement, res2Types, rollback, setAutoCommit, setCatalog, setTransactionIsolation, takeOver, toString |
Methods inherited from class org.sourceforge.jxdbcon.AbstractConnection |
clearWarnings, clone, createStatement, createStatement, duplicate, finalize, getCatalog, getHoldability, getInfo, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTypeMap |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private Thread protoThread
Constructor Detail |
public NetConnection()
Method Detail |
protected PGProtocol connect(Properties info) throws SQLException
PGConnection
connect
in class PGConnection
SQLException
|
jxDBCon 0.9z | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |