public abstract class StatementBase extends Object implements Statement
构造器和说明 |
---|
StatementBase(Connection connection) |
public StatementBase(Connection connection)
public Connection getConnection() throws SQLException
getConnection
在接口中 Statement
SQLException
public void setConnection(Connection connection)
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 getResultSetType() throws SQLException
getResultSetType
在接口中 Statement
SQLException
public void setResultSetType(int resultType)
public void setResultSetConcurrency(int resultSetConcurrency)
public int getResultSetConcurrency() throws SQLException
getResultSetConcurrency
在接口中 Statement
SQLException
public int getResultSetHoldability() throws SQLException
getResultSetHoldability
在接口中 Statement
SQLException
public void setResultSetHoldability(int resultSetHoldability)
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 boolean isEscapeProcessing()
public int getQueryTimeout() throws SQLException
getQueryTimeout
在接口中 Statement
SQLException
public void setQueryTimeout(int seconds) throws SQLException
setQueryTimeout
在接口中 Statement
SQLException
public void setCursorName(String name) throws SQLException
setCursorName
在接口中 Statement
SQLException
public String getCursorName()
public SQLWarning getWarnings() throws SQLException
getWarnings
在接口中 Statement
SQLException
public void clearWarnings() throws SQLException
clearWarnings
在接口中 Statement
SQLException
public void setWarning(SQLWarning warning)
public int getUpdateCount() throws SQLException
getUpdateCount
在接口中 Statement
SQLException
public void setUpdateCount(int updateCount)
public void close() throws SQLException
close
在接口中 AutoCloseable
close
在接口中 Statement
SQLException
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
在接口中 Wrapper
SQLException
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
在接口中 Wrapper
SQLException
public boolean isPoolable() throws SQLException
isPoolable
在接口中 Statement
SQLException
public void setPoolable(boolean poolable) throws SQLException
setPoolable
在接口中 Statement
SQLException
public void closeOnCompletion() throws SQLException
closeOnCompletion
在接口中 Statement
SQLException
public boolean isCloseOnCompletion() throws SQLException
isCloseOnCompletion
在接口中 Statement
SQLException
public boolean isClosed() throws SQLException
isClosed
在接口中 Statement
SQLException
public boolean getMoreResults() throws SQLException
getMoreResults
在接口中 Statement
SQLException
public void addBatch(String sql) throws SQLException
addBatch
在接口中 Statement
SQLException
public void clearBatch() throws SQLException
clearBatch
在接口中 Statement
SQLException
public ResultSet getGeneratedKeys() throws SQLException
getGeneratedKeys
在接口中 Statement
SQLException
public void setGeneratedKeys(ResultSet generatedKeys)
public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException
executeUpdate
在接口中 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 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 ResultSet getResultSet() throws SQLException
getResultSet
在接口中 Statement
SQLException
public int[] executeBatch() throws SQLException
executeBatch
在接口中 Statement
SQLException
public boolean getMoreResults(int current) throws SQLException
getMoreResults
在接口中 Statement
SQLException
public void setWarnings(SQLWarning warnings)
public void setResultSet(ResultSet resultSet)
public boolean execute(String sql) throws SQLException
execute
在接口中 Statement
SQLException
public ResultSet executeQuery(String sql) throws SQLException
executeQuery
在接口中 Statement
SQLException
public int executeUpdate(String sql) throws SQLException
executeUpdate
在接口中 Statement
SQLException
public void cancel() throws SQLException
cancel
在接口中 Statement
SQLException
Copyright © 2012 Alibaba Group. All Rights Reserved.