public final class ShardingPreparedStatement extends AbstractPreparedStatementAdapter
| 构造器和说明 |
|---|
ShardingPreparedStatement(ShardingConnection shardingConnection,
String sql) |
ShardingPreparedStatement(ShardingConnection shardingConnection,
String sql,
int autoGeneratedKeys) |
ShardingPreparedStatement(ShardingConnection shardingConnection,
String sql,
int resultSetType,
int resultSetConcurrency) |
ShardingPreparedStatement(ShardingConnection shardingConnection,
String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addBatch() |
void |
clearBatch() |
boolean |
execute() |
int[] |
executeBatch() |
ResultSet |
executeQuery() |
int |
executeUpdate() |
clearParameters, replaySetParameter, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLgetMetaData, getParameterMetaData, setArray, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setRef, setRowIdexecute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getGeneratedKey, getGeneratedKeys, getResultSet, markReturnGeneratedKeyscancel, clearWarnings, close, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getRoutedStatements, getUpdateCount, getWarnings, isClosed, isPoolable, setCursorName, setEscapeProcessing, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutaddBatch, closeOnCompletion, getFetchDirection, isCloseOnCompletion, setFetchDirectionisWrapperFor, recordMethodInvocation, replayMethodsInvocation, throwSQLExceptionIfNecessary, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBatch, cancel, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutisWrapperFor, unwrappublic ShardingPreparedStatement(ShardingConnection shardingConnection, String sql)
public ShardingPreparedStatement(ShardingConnection shardingConnection, String sql, int resultSetType, int resultSetConcurrency)
public ShardingPreparedStatement(ShardingConnection shardingConnection, String sql, int autoGeneratedKeys)
public ShardingPreparedStatement(ShardingConnection shardingConnection, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
public ResultSet executeQuery() throws SQLException
SQLExceptionpublic int executeUpdate()
throws SQLException
SQLExceptionpublic boolean execute()
throws SQLException
SQLExceptionpublic void clearBatch()
throws SQLException
clearBatch 在接口中 StatementclearBatch 在类中 AbstractUnsupportedOperationStatementSQLExceptionpublic void addBatch()
throws SQLException
SQLExceptionpublic int[] executeBatch()
throws SQLException
executeBatch 在接口中 StatementexecuteBatch 在类中 AbstractUnsupportedOperationStatementSQLExceptionCopyright © 2017. All rights reserved.