public class DbStatement extends Object implements Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
コンストラクタと説明 |
---|
DbStatement(Statement stmt) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, setLargeMaxRows
public DbStatement(Statement stmt)
public void setSqlOutput(boolean var)
var
- SQL文出力フラグpublic boolean isSqlOutput()
protected void addParameter(int idx, String var)
protected void clearParameter()
protected void printParameter()
protected String parameterString()
protected void setSql(String var)
public ResultSet executeQuery(String sql) throws SQLException
executeQuery
インタフェース内 Statement
SQLException
public int executeUpdate(String sql) throws SQLException
executeUpdate
インタフェース内 Statement
SQLException
public void close() throws SQLException
close
インタフェース内 AutoCloseable
close
インタフェース内 Statement
SQLException
public int getMaxFieldSize() throws SQLException
getMaxFieldSize
インタフェース内 Statement
SQLException
public void setMaxFieldSize(int max) throws SQLException
setMaxFieldSize
インタフェース内 Statement
SQLException
public int getMaxRows() throws SQLException
getMaxRows
インタフェース内 Statement
SQLException
public void setMaxRows(int max) throws SQLException
setMaxRows
インタフェース内 Statement
SQLException
public void setEscapeProcessing(boolean enable) throws SQLException
setEscapeProcessing
インタフェース内 Statement
SQLException
public int getQueryTimeout() throws SQLException
getQueryTimeout
インタフェース内 Statement
SQLException
public void setQueryTimeout(int seconds) throws SQLException
setQueryTimeout
インタフェース内 Statement
SQLException
public void cancel() throws SQLException
cancel
インタフェース内 Statement
SQLException
public SQLWarning getWarnings() throws SQLException
getWarnings
インタフェース内 Statement
SQLException
public void clearWarnings() throws SQLException
clearWarnings
インタフェース内 Statement
SQLException
public void setCursorName(String name) throws SQLException
setCursorName
インタフェース内 Statement
SQLException
public boolean execute(String sql) throws SQLException
execute
インタフェース内 Statement
SQLException
public ResultSet getResultSet() throws SQLException
getResultSet
インタフェース内 Statement
SQLException
public int getUpdateCount() throws SQLException
getUpdateCount
インタフェース内 Statement
SQLException
public boolean getMoreResults() throws SQLException
getMoreResults
インタフェース内 Statement
SQLException
public void setFetchDirection(int direction) throws SQLException
setFetchDirection
インタフェース内 Statement
SQLException
public int getFetchDirection() throws SQLException
getFetchDirection
インタフェース内 Statement
SQLException
public void setFetchSize(int rows) throws SQLException
setFetchSize
インタフェース内 Statement
SQLException
public int getFetchSize() throws SQLException
getFetchSize
インタフェース内 Statement
SQLException
public int getResultSetConcurrency() throws SQLException
getResultSetConcurrency
インタフェース内 Statement
SQLException
public int getResultSetType() throws SQLException
getResultSetType
インタフェース内 Statement
SQLException
public void addBatch(String sql) throws SQLException
addBatch
インタフェース内 Statement
SQLException
public void clearBatch() throws SQLException
clearBatch
インタフェース内 Statement
SQLException
public int[] executeBatch() throws SQLException
executeBatch
インタフェース内 Statement
SQLException
public Connection getConnection() throws SQLException
getConnection
インタフェース内 Statement
SQLException
public boolean getMoreResults(int current) throws SQLException
getMoreResults
インタフェース内 Statement
SQLException
public ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys
インタフェース内 Statement
SQLException
public int executeUpdate(String sql, int[] columnIndexes) throws SQLException
executeUpdate
インタフェース内 Statement
SQLException
public int executeUpdate(String sql, String[] columnNames) throws SQLException
executeUpdate
インタフェース内 Statement
SQLException
public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
executeUpdate
インタフェース内 Statement
SQLException
public boolean execute(String sql, int autoGeneratedKeys) throws SQLException
execute
インタフェース内 Statement
SQLException
public boolean execute(String sql, int[] columnIndexes) throws SQLException
execute
インタフェース内 Statement
SQLException
public boolean execute(String sql, String[] columnNames) throws SQLException
execute
インタフェース内 Statement
SQLException
public int getResultSetHoldability() throws SQLException
getResultSetHoldability
インタフェース内 Statement
SQLException
public boolean isClosed() throws SQLException
isClosed
インタフェース内 Statement
SQLException
public void setPoolable(boolean var) throws SQLException
setPoolable
インタフェース内 Statement
SQLException
public boolean isPoolable() throws SQLException
isPoolable
インタフェース内 Statement
SQLException
public boolean isCloseOnCompletion() throws SQLException
isCloseOnCompletion
インタフェース内 Statement
SQLException
public void closeOnCompletion() throws SQLException
closeOnCompletion
インタフェース内 Statement
SQLException
public boolean isWrapperFor(Class<?> var) throws SQLException
isWrapperFor
インタフェース内 Wrapper
SQLException
public <T> T unwrap(Class<T> var) throws SQLException
unwrap
インタフェース内 Wrapper
SQLException
Copyright © 2021 S.D.S Co.,Ltd.. All rights reserved.