public class CachedPreparedStatementJDK8 extends CachedPreparedStatement
log
bundle
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
Constructor and Description |
---|
CachedPreparedStatementJDK8(PreparedStatement ps)
Constructor
|
Modifier and Type | Method and Description |
---|---|
long[] |
executeLargeBatch() |
long |
executeLargeUpdate() |
long |
executeLargeUpdate(String sql) |
long |
executeLargeUpdate(String sql,
int autoGeneratedKeys) |
long |
executeLargeUpdate(String sql,
int[] columnIndexes) |
long |
executeLargeUpdate(String sql,
String[] columnNames) |
long |
getLargeMaxRows() |
long |
getLargeUpdateCount() |
void |
setLargeMaxRows(long max) |
void |
setObject(int parameterIndex,
Object x,
SQLType targetSqlType) |
void |
setObject(int parameterIndex,
Object x,
SQLType targetSqlType,
int scaleOrLength) |
addBatch, addBatch, agedOut, cancel, clearBatch, clearParameters, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, execute, executeBatch, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMetaData, getMoreResults, getMoreResults, getParameterMetaData, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUnderlyingPreparedStatement, getUpdateCount, getWarnings, getWrappedObject, inUse, isClosed, isCloseOnCompletion, isInUse, isPoolable, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setPoolable, setQueryTimeout, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
isWrapperFor, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWrapperFor, unwrap
public CachedPreparedStatementJDK8(PreparedStatement ps) throws SQLException
ps
- The prepared statementSQLException
- Thrown if an error occurspublic long getLargeUpdateCount() throws SQLException
SQLException
public void setLargeMaxRows(long max) throws SQLException
SQLException
public long getLargeMaxRows() throws SQLException
SQLException
public long[] executeLargeBatch() throws SQLException
SQLException
public long executeLargeUpdate(String sql) throws SQLException
SQLException
public long executeLargeUpdate(String sql, int autoGeneratedKeys) throws SQLException
SQLException
public long executeLargeUpdate(String sql, int[] columnIndexes) throws SQLException
SQLException
public long executeLargeUpdate(String sql, String[] columnNames) throws SQLException
SQLException
public void setObject(int parameterIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException
SQLException
public void setObject(int parameterIndex, Object x, SQLType targetSqlType) throws SQLException
SQLException
public long executeLargeUpdate() throws SQLException
SQLException
Copyright © 2021 JBoss by Red Hat. All rights reserved.