public class TCustomConnection extends TConnection
Modifier and Type | Class and Description |
---|---|
static interface |
TCustomConnection.CustomDataSource
This interface represents a custom data source definition.
|
Modifier and Type | Field and Description |
---|---|
static String |
CUSTOM_DATASOURCE |
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
Constructor and Description |
---|
TCustomConnection(Properties props) |
Modifier and Type | Method and Description |
---|---|
Statement |
createStatement() |
Statement |
createStatement(String sql) |
TCustomConnection.CustomDataSource |
getDataSource() |
CallableStatement |
prepareCall(String sql) |
CallableStatement |
prepareCall(String sql,
int resultSetType,
int resultSetConcurrency) |
CallableStatement |
prepareCall(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
PreparedStatement |
prepareStatement(String sql) |
PreparedStatement |
prepareStatement(String sql,
int autoGeneratedKeys) |
PreparedStatement |
prepareStatement(String sql,
int[] columnIndexes) |
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency) |
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
PreparedStatement |
prepareStatement(String sql,
String[] columnNames) |
abort, clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getMaxColumns, getMetaData, getNetworkTimeout, getPassword, getPath, getSchema, getTransactionIsolation, getType, getTypeMap, getUsername, getWarnings, hasHeader, isClosed, isReadOnly, isValid, isWrapperFor, nativeSQL, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMap, unwrap
public static final String CUSTOM_DATASOURCE
public TCustomConnection(Properties props) throws SQLException
SQLException
public TCustomConnection.CustomDataSource getDataSource()
public Statement createStatement(String sql) throws SQLException
SQLException
public Statement createStatement() throws SQLException
SQLException
public PreparedStatement prepareStatement(String sql) throws SQLException
SQLException
public CallableStatement prepareCall(String sql) throws SQLException
SQLException
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
SQLException
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
SQLException
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLException
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLException
public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
SQLException
public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
SQLException
public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
SQLException
Copyright © 2017 WSO2. All rights reserved.