| java.lang.Object com.knowgate.jdc.JDCConnection
JDCConnection | final public class JDCConnection implements Connection(Code) | | JDBC Connection Wrapper
author: Sergio Montoro Ten version: 2.2 |
Method Summary | |
public void | bindParameter(PreparedStatement oStmt, int iParamIndex, Object oParamValue, int iSQLType) | public void | bindParameter(PreparedStatement oStmt, int iParamIndex, Object oParamValue) | public void | clearWarnings() | public void | close() | public void | close(String sCaller) | public void | commit() | public Statement | createStatement(int i, int j) | public Statement | createStatement(int i, int j, int k) | public Statement | createStatement() | public boolean | exists(String sObjectName, String sObjectType) Checks if an object exists at database
Checking is done directly against database catalog tables,
if current user does not have enought priviledges for reading
database catalog tables methos may fail or return a wrong result. | protected void | expireLease() | public boolean | getAutoCommit() | public String | getCatalog() | protected Connection | getConnection() | public int | getDataBaseProduct() | public int | getHoldability() | public long | getLastUse() | public DatabaseMetaData | getMetaData() | public String | getName() | public JDCConnectionPool | getPool() | public String | getSchemaName() | public int | getTransactionIsolation() | public Map | getTypeMap() | public SQLWarning | getWarnings() | public boolean | inUse() | public boolean | isClosed() | public boolean | isReadOnly() | public boolean | lease(String sConnectionName) | public String | nativeSQL(String sql) | public String | pid() | public CallableStatement | prepareCall(String sql) | public CallableStatement | prepareCall(String sql, int i, int j) | public CallableStatement | prepareCall(String sql, int i, int j, int k) | public PreparedStatement | prepareStatement(String sql) | public PreparedStatement | prepareStatement(String sql, String[] params) | public PreparedStatement | prepareStatement(String sql, int i) | public PreparedStatement | prepareStatement(String sql, int i, int j) | public PreparedStatement | prepareStatement(String sql, int i, int j, int k) | public PreparedStatement | prepareStatement(String sql, int[] params) | public void | releaseSavepoint(Savepoint p) | public void | rollback() | public void | rollback(Savepoint p) | public void | setAutoCommit(boolean autoCommit) | public void | setCatalog(String catalog) | public void | setHoldability(int h) | public void | setReadOnly(boolean readOnly) | public Savepoint | setSavepoint() | public Savepoint | setSavepoint(String s) | public void | setSchemaName(String sname) | public void | setTransactionIsolation(int level) | public void | setTypeMap(Map typemap) | public boolean | validate() |
DBMS_GENERIC | final public static int DBMS_GENERIC(Code) | | |
DBMS_MSSQL | final public static int DBMS_MSSQL(Code) | | |
DBMS_MYSQL | final public static int DBMS_MYSQL(Code) | | |
DBMS_ORACLE | final public static int DBMS_ORACLE(Code) | | |
DBMS_POSTGRESQL | final public static int DBMS_POSTGRESQL(Code) | | |
IdClass | final public static short IdClass(Code) | | |
bindParameter | public void bindParameter(PreparedStatement oStmt, int iParamIndex, Object oParamValue, int iSQLType) throws SQLException(Code) | | Bind parameter into a PreparedStatement
Parameters: oStmt - PreparedStatement where values is to be binded Parameters: iParamIndex - int Starting with 1 Parameters: oParamValue - Object Parameters: iSQLType - int throws: SQLException - |
exists | public boolean exists(String sObjectName, String sObjectType) throws SQLException, UnsupportedOperationException(Code) | | Checks if an object exists at database
Checking is done directly against database catalog tables,
if current user does not have enought priviledges for reading
database catalog tables methos may fail or return a wrong result.
Parameters: sObjectName - Objeto name Parameters: sObjectType - Objeto typeC = CHECK constraintD = Default or DEFAULT constraintF = FOREIGN KEY constraintL = LogP = Stored procedurePK = PRIMARY KEY constraint (type is K)RF = Replication filter stored procedureS = System tableTR = TriggerU = User tableUQ = UNIQUE constraint (type is K)V = ViewX = Extended stored procedure true if object exists, false otherwise throws: SQLException - throws: UnsupportedOperationException - If current database management system is not supported for this method |
expireLease | protected void expireLease()(Code) | | |
getLastUse | public long getLastUse()(Code) | | |
inUse | public boolean inUse()(Code) | | |
pid | public String pid() throws SQLException(Code) | | Get operating system process identifier for this connection
String For PostgreSQL the id of the UNIX process attending this connection.For Oracle a Session Id. throws: SQLException - since: 2.2 |
setTransactionIsolation | public void setTransactionIsolation(int level) throws SQLException(Code) | | |
validate | public boolean validate()(Code) | | |
|
|