java > java.sql > java.sql.connection >

Interface: java.sql.Connection
    java.sql.Connection


public interface Connection extends Wrapper


FIELDS:
static final int TRANSACTION_NONE : 0
static final int TRANSACTION_READ_COMMITTED : 2
static final int TRANSACTION_READ_UNCOMMITTED : 1
static final int TRANSACTION_REPEATABLE_READ : 4
static final int TRANSACTION_SERIALIZABLE : 8

CONSTRUCTORS:

METHODS:
void clearWarnings()
Throws: SQLException

void close()
Throws: SQLException

void commit()
Throws: SQLException

Array createArrayOf(String typeName, Object[] elements)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

Blob createBlob()
Throws: SQLException
Throws: SQLFeatureNotSupportedException

Clob createClob()
Throws: SQLException
Throws: SQLFeatureNotSupportedException

NClob createNClob()
Throws: SQLException
Throws: SQLFeatureNotSupportedException

SQLXML createSQLXML()
Throws: SQLException
Throws: SQLFeatureNotSupportedException

Statement createStatement()
Throws: SQLException

Statement createStatement(int resultSetType, int resultSetConcurrency)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

Struct createStruct(String typeName, Object[] attributes)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

boolean getAutoCommit()
Throws: SQLException

String getCatalog()
Throws: SQLException

Properties getClientInfo()
Throws: SQLException

String getClientInfo(String name)
Throws: SQLException

int getHoldability()
Throws: SQLException

DatabaseMetaData getMetaData()
Throws: SQLException

int getTransactionIsolation()
Throws: SQLException

Map getTypeMap()
Throws: SQLException
Throws: SQLFeatureNotSupportedException

SQLWarning getWarnings()
Throws: SQLException

boolean isClosed()
Throws: SQLException

boolean isReadOnly()
Throws: SQLException

boolean isValid(int timeout)
Throws: SQLException

String nativeSQL(String sql)
Throws: SQLException

CallableStatement prepareCall(String sql)
Throws: SQLException

CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

PreparedStatement prepareStatement(String sql)
Throws: SQLException

PreparedStatement prepareStatement(String sql, int autoGeneratedKeys)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

PreparedStatement prepareStatement(String sql, int[] columnIndexes)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

PreparedStatement prepareStatement(String sql, String[] columnNames)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

void releaseSavepoint(Savepoint savepoint)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

void rollback()
Throws: SQLException

void rollback(Savepoint savepoint)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

void setAutoCommit(boolean autoCommit)
Throws: SQLException

void setCatalog(String catalog)
Throws: SQLException

void setClientInfo(String name, String value)
Throws: SQLClientInfoException

void setClientInfo(Properties properties)
Throws: SQLClientInfoException

void setHoldability(int holdability)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

void setReadOnly(boolean readOnly)
Throws: SQLException

Savepoint setSavepoint()
Throws: SQLException
Throws: SQLFeatureNotSupportedException

Savepoint setSavepoint(String name)
Throws: SQLException
Throws: SQLFeatureNotSupportedException

void setTransactionIsolation(int level)
Throws: SQLException

void setTypeMap(Map map)
Throws: SQLException
Throws: SQLFeatureNotSupportedException


INHERITED METHODS:

SUBINTERFACES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net