public class DbConnection extends Object implements Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
修飾子 | コンストラクタと説明 |
---|---|
protected |
DbConnection(Connection con) |
protected DbConnection(Connection con)
public void setSqlOutput(boolean var)
var
- SQL文出力フラグpublic boolean isSqlOutput()
public Statement createStatement() throws SQLException
createStatement
インタフェース内 Connection
SQLException
public PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement
インタフェース内 Connection
SQLException
public CallableStatement prepareCall(String sql) throws SQLException
prepareCall
インタフェース内 Connection
SQLException
public String nativeSQL(String sql) throws SQLException
nativeSQL
インタフェース内 Connection
SQLException
public void setAutoCommit(boolean autoCommit) throws SQLException
setAutoCommit
インタフェース内 Connection
SQLException
public boolean getAutoCommit() throws SQLException
getAutoCommit
インタフェース内 Connection
SQLException
public void commit() throws SQLException
commit
インタフェース内 Connection
SQLException
public void rollback() throws SQLException
rollback
インタフェース内 Connection
SQLException
public void close() throws SQLException
close
インタフェース内 AutoCloseable
close
インタフェース内 Connection
SQLException
public boolean isClosed() throws SQLException
isClosed
インタフェース内 Connection
SQLException
public DatabaseMetaData getMetaData() throws SQLException
getMetaData
インタフェース内 Connection
SQLException
public void setReadOnly(boolean readOnly) throws SQLException
setReadOnly
インタフェース内 Connection
SQLException
public boolean isReadOnly() throws SQLException
isReadOnly
インタフェース内 Connection
SQLException
public void setCatalog(String catalog) throws SQLException
setCatalog
インタフェース内 Connection
SQLException
public String getCatalog() throws SQLException
getCatalog
インタフェース内 Connection
SQLException
public void setTransactionIsolation(int level) throws SQLException
setTransactionIsolation
インタフェース内 Connection
SQLException
public int getTransactionIsolation() throws SQLException
getTransactionIsolation
インタフェース内 Connection
SQLException
public SQLWarning getWarnings() throws SQLException
getWarnings
インタフェース内 Connection
SQLException
public void clearWarnings() throws SQLException
clearWarnings
インタフェース内 Connection
SQLException
public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
createStatement
インタフェース内 Connection
SQLException
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareStatement
インタフェース内 Connection
SQLException
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareCall
インタフェース内 Connection
SQLException
public Map<String,Class<?>> getTypeMap() throws SQLException
getTypeMap
インタフェース内 Connection
SQLException
public void setTypeMap(Map<String,Class<?>> map) throws SQLException
setTypeMap
インタフェース内 Connection
SQLException
public void setHoldability(int holdability) throws SQLException
setHoldability
インタフェース内 Connection
SQLException
public int getHoldability() throws SQLException
getHoldability
インタフェース内 Connection
SQLException
public Savepoint setSavepoint() throws SQLException
setSavepoint
インタフェース内 Connection
SQLException
public Savepoint setSavepoint(String name) throws SQLException
setSavepoint
インタフェース内 Connection
SQLException
public void rollback(Savepoint savepoint) throws SQLException
rollback
インタフェース内 Connection
SQLException
public void releaseSavepoint(Savepoint savepoint) throws SQLException
releaseSavepoint
インタフェース内 Connection
SQLException
public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
createStatement
インタフェース内 Connection
SQLException
public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareStatement
インタフェース内 Connection
SQLException
public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareCall
インタフェース内 Connection
SQLException
public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
prepareStatement
インタフェース内 Connection
SQLException
public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
prepareStatement
インタフェース内 Connection
SQLException
public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
prepareStatement
インタフェース内 Connection
SQLException
public Clob createClob() throws SQLException
createClob
インタフェース内 Connection
SQLException
public Blob createBlob() throws SQLException
createBlob
インタフェース内 Connection
SQLException
public NClob createNClob() throws SQLException
createNClob
インタフェース内 Connection
SQLException
public SQLXML createSQLXML() throws SQLException
createSQLXML
インタフェース内 Connection
SQLException
public boolean isValid(int timeout) throws SQLException
isValid
インタフェース内 Connection
SQLException
public void setClientInfo(String name, String value) throws SQLClientInfoException
setClientInfo
インタフェース内 Connection
SQLClientInfoException
public void setClientInfo(Properties properties) throws SQLClientInfoException
setClientInfo
インタフェース内 Connection
SQLClientInfoException
public String getClientInfo(String name) throws SQLException
getClientInfo
インタフェース内 Connection
SQLException
public Properties getClientInfo() throws SQLException
getClientInfo
インタフェース内 Connection
SQLException
public Array createArrayOf(String typeName, Object[] elements) throws SQLException
createArrayOf
インタフェース内 Connection
SQLException
public Struct createStruct(String typeName, Object[] attributes) throws SQLException
createStruct
インタフェース内 Connection
SQLException
public int getNetworkTimeout() throws SQLException
getNetworkTimeout
インタフェース内 Connection
SQLException
public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException
setNetworkTimeout
インタフェース内 Connection
SQLException
public void abort(Executor executor) throws SQLException
abort
インタフェース内 Connection
SQLException
public String getSchema() throws SQLException
getSchema
インタフェース内 Connection
SQLException
public void setSchema(String schema) throws SQLException
setSchema
インタフェース内 Connection
SQLException
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
インタフェース内 Wrapper
SQLException
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
インタフェース内 Wrapper
SQLException
Copyright © 2021 S.D.S Co.,Ltd.. All rights reserved.