Package com.appslandia.common.jdbc
Class StatementImpl
- java.lang.Object
-
- com.appslandia.common.jdbc.StatementImpl
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.sql.PreparedStatement,java.sql.Statement,java.sql.Wrapper
public class StatementImpl extends java.lang.Object implements java.sql.PreparedStatement- Author:
- Loc Ha
-
-
Constructor Summary
Constructors Constructor Description StatementImpl(java.sql.Connection conn, Sql sql)StatementImpl(java.sql.Connection conn, Sql sql, boolean returnGeneratedKey)StatementImpl(java.sql.Connection conn, Sql sql, int resultSetType, int resultSetConcurrency)StatementImpl(java.sql.Connection conn, java.lang.String sql)StatementImpl(java.sql.Connection conn, java.lang.String sql, int resultSetType, int resultSetConcurrency)StatementImpl(java.sql.PreparedStatement stat)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddBatch()voidaddBatch(java.lang.String sql)voidcancel()voidclearBatch()voidclearParameters()voidclearWarnings()voidclose()voidcloseOnCompletion()booleanexecute()booleanexecute(java.lang.String sql)booleanexecute(java.lang.String sql, int autoGeneratedKeys)booleanexecute(java.lang.String sql, int[] columnIndexes)booleanexecute(java.lang.String sql, java.lang.String[] columnNames)int[]executeBatch()intexecuteGeneratedKey()longexecuteGeneratedKeyLong()long[]executeLargeBatch()longexecuteLargeUpdate()longexecuteLargeUpdate(java.lang.String sql)longexecuteLargeUpdate(java.lang.String sql, int autoGeneratedKeys)longexecuteLargeUpdate(java.lang.String sql, int[] columnIndexes)longexecuteLargeUpdate(java.lang.String sql, java.lang.String[] columnNames)<T> java.util.List<T>executeList(ResultSetMapper<T> mapper)<T> java.util.List<T>executeList(ResultSetMapper<T> mapper, java.util.List<T> list)<K,V>
java.util.Map<K,V>executeMap(ResultSetMapper<K> keyMapper, ResultSetMapper<V> valueMapper)<K,V>
java.util.Map<K,V>executeMap(ResultSetMapper<K> keyMapper, ResultSetMapper<V> valueMapper, java.util.Map<K,V> map)<K,V>
java.util.Map<K,V>executeMap(java.lang.String keyColumn, java.lang.String valueColumn)<K,V>
java.util.Map<K,V>executeMap(java.lang.String keyColumn, java.lang.String valueColumn, java.util.Map<K,V> map)voidexecuteNStream(java.lang.String streamLabel, java.io.Writer w, ResultSetHandler handler)ResultSetImplexecuteQuery()voidexecuteQuery(ResultSetHandler handler)ResultSetImplexecuteQuery(java.lang.String sql)<T> TexecuteScalar()<T> TexecuteSingle(ResultSetMapper<T> mapper)voidexecuteStream(java.lang.String streamLabel, java.io.OutputStream os, ResultSetHandler handler)voidexecuteStream(java.lang.String streamLabel, java.io.Writer w, ResultSetHandler handler)intexecuteUpdate()intexecuteUpdate(java.lang.String sql)intexecuteUpdate(java.lang.String sql, int autoGeneratedKeys)intexecuteUpdate(java.lang.String sql, int[] columnIndexes)intexecuteUpdate(java.lang.String sql, java.lang.String[] columnNames)java.sql.ConnectiongetConnection()intgetFetchDirection()intgetFetchSize()java.sql.ResultSetgetGeneratedKeys()longgetLargeMaxRows()longgetLargeUpdateCount()intgetMaxFieldSize()intgetMaxRows()java.sql.ResultSetMetaDatagetMetaData()booleangetMoreResults()booleangetMoreResults(int current)java.sql.ParameterMetaDatagetParameterMetaData()intgetQueryTimeout()java.sql.ResultSetgetResultSet()intgetResultSetConcurrency()intgetResultSetHoldability()intgetResultSetType()protected SqlgetSql()intgetUpdateCount()java.sql.SQLWarninggetWarnings()booleanisClosed()booleanisCloseOnCompletion()booleanisPoolable()booleanisWrapperFor(java.lang.Class<?> arg0)voidsetArray(int parameterIndex, java.sql.Array x)voidsetArray(java.lang.String parameterName, java.sql.Array x)voidsetAsciiStream(int parameterIndex, java.io.InputStream x)voidsetAsciiStream(int parameterIndex, java.io.InputStream x, int length)voidsetAsciiStream(int parameterIndex, java.io.InputStream x, long length)voidsetAsciiStream(java.lang.String parameterName, java.io.InputStream x)voidsetAsciiStream(java.lang.String parameterName, java.io.InputStream x, int length)voidsetAsciiStream(java.lang.String parameterName, java.io.InputStream x, long length)voidsetBigDecimal(int parameterIndex, java.math.BigDecimal x)voidsetBigDecimal(java.lang.String parameterName, java.math.BigDecimal x)voidsetBigDecimalArray(java.lang.String parameterName, java.math.BigDecimal[] values)voidsetBinaryStream(int parameterIndex, java.io.InputStream x)voidsetBinaryStream(int parameterIndex, java.io.InputStream x, int length)voidsetBinaryStream(int parameterIndex, java.io.InputStream x, long length)voidsetBinaryStream(java.lang.String parameterName, java.io.InputStream x)voidsetBinaryStream(java.lang.String parameterName, java.io.InputStream x, int length)voidsetBinaryStream(java.lang.String parameterName, java.io.InputStream x, long length)voidsetBlob(int parameterIndex, java.io.InputStream inputStream)voidsetBlob(int parameterIndex, java.io.InputStream inputStream, long length)voidsetBlob(int parameterIndex, java.sql.Blob x)voidsetBlob(java.lang.String parameterName, java.io.InputStream inputStream)voidsetBlob(java.lang.String parameterName, java.io.InputStream inputStream, long length)voidsetBlob(java.lang.String parameterName, java.sql.Blob x)voidsetBoolean(int parameterIndex, boolean x)voidsetBoolean(java.lang.String parameterName, boolean x)voidsetBoolean2(java.lang.String parameterName, java.lang.Boolean value)voidsetByte(int parameterIndex, byte x)voidsetByte(java.lang.String parameterName, byte x)voidsetByte2(java.lang.String parameterName, java.lang.Byte value)voidsetByteArray(java.lang.String parameterName, byte[] values)voidsetBytes(int parameterIndex, byte[] x)voidsetBytes(java.lang.String parameterName, byte[] x)voidsetCharacterStream(int parameterIndex, java.io.Reader reader)voidsetCharacterStream(int parameterIndex, java.io.Reader reader, int length)voidsetCharacterStream(int parameterIndex, java.io.Reader reader, long length)voidsetCharacterStream(java.lang.String parameterName, java.io.Reader reader)voidsetCharacterStream(java.lang.String parameterName, java.io.Reader reader, int length)voidsetCharacterStream(java.lang.String parameterName, java.io.Reader reader, long length)voidsetClob(int parameterIndex, java.io.Reader reader)voidsetClob(int parameterIndex, java.io.Reader reader, long length)voidsetClob(int parameterIndex, java.sql.Clob x)voidsetClob(java.lang.String parameterName, java.io.Reader reader)voidsetClob(java.lang.String parameterName, java.io.Reader reader, long length)voidsetClob(java.lang.String parameterName, java.sql.Clob x)voidsetCursorName(java.lang.String name)voidsetDate(int parameterIndex, java.sql.Date x)voidsetDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal)voidsetDate(java.lang.String parameterName, java.sql.Date x)voidsetDate(java.lang.String parameterName, java.sql.Date x, java.util.Calendar cal)voidsetDateArray(java.lang.String parameterName, java.sql.Date[] values)voidsetDouble(int parameterIndex, double x)voidsetDouble(java.lang.String parameterName, double x)voidsetDouble2(java.lang.String parameterName, java.lang.Double value)voidsetDoubleArray(java.lang.String parameterName, double[] values)voidsetEscapeProcessing(boolean enable)voidsetFetchDirection(int direction)voidsetFetchSize(int rows)voidsetFloat(int parameterIndex, float x)voidsetFloat(java.lang.String parameterName, float x)voidsetFloat2(java.lang.String parameterName, java.lang.Float value)voidsetFloatArray(java.lang.String parameterName, float[] values)voidsetInt(int parameterIndex, int x)voidsetInt(java.lang.String parameterName, int x)voidsetInt2(java.lang.String parameterName, java.lang.Integer value)voidsetIntArray(java.lang.String parameterName, int[] values)voidsetLargeMaxRows(long max)voidsetLike(java.lang.String parameterName, java.lang.String value)voidsetLikeAny(java.lang.String parameterName, java.lang.String[] values)voidsetLikeAny(java.lang.String parameterName, java.lang.String[] values, LikeType likeType, java.lang.String falsePattern)voidsetLikeAnyEnd(java.lang.String parameterName, java.lang.String[] values)voidsetLikeAnyStart(java.lang.String parameterName, java.lang.String[] values)voidsetLikeEnd(java.lang.String parameterName, java.lang.String value)voidsetLikeStart(java.lang.String parameterName, java.lang.String value)voidsetLikeTag(java.lang.String parameterName, java.lang.String tag)voidsetLong(int parameterIndex, long x)voidsetLong(java.lang.String parameterName, long x)voidsetLong2(java.lang.String parameterName, java.lang.Long value)voidsetLongArray(java.lang.String parameterName, long[] values)voidsetMaxFieldSize(int max)voidsetMaxRows(int max)voidsetNCharacterStream(int parameterIndex, java.io.Reader value)voidsetNCharacterStream(int parameterIndex, java.io.Reader value, long length)voidsetNCharacterStream(java.lang.String parameterName, java.io.Reader value)voidsetNCharacterStream(java.lang.String parameterName, java.io.Reader value, long length)voidsetNClob(int parameterIndex, java.io.Reader reader)voidsetNClob(int parameterIndex, java.io.Reader reader, long length)voidsetNClob(int parameterIndex, java.sql.NClob value)voidsetNClob(java.lang.String parameterName, java.io.Reader reader)voidsetNClob(java.lang.String parameterName, java.io.Reader reader, long length)voidsetNClob(java.lang.String parameterName, java.sql.NClob value)voidsetNLike(java.lang.String parameterName, java.lang.String value)voidsetNLikeAny(java.lang.String parameterName, java.lang.String[] values)voidsetNLikeAny(java.lang.String parameterName, java.lang.String[] values, LikeType likeType, java.lang.String falsePattern)voidsetNLikeAnyEnd(java.lang.String parameterName, java.lang.String[] values)voidsetNLikeAnyStart(java.lang.String parameterName, java.lang.String[] values)voidsetNLikeEnd(java.lang.String parameterName, java.lang.String value)voidsetNLikeStart(java.lang.String parameterName, java.lang.String value)voidsetNLikeTag(java.lang.String parameterName, java.lang.String tag)voidsetNString(int parameterIndex, java.lang.String value)voidsetNString(java.lang.String parameterName, java.lang.String value)voidsetNStringArray(java.lang.String parameterName, java.lang.String[] values)voidsetNull(int parameterIndex, int sqlType)voidsetNull(int parameterIndex, int sqlType, java.lang.String typeName)voidsetNull(java.lang.String parameterName, int sqlType)voidsetNull(java.lang.String parameterName, int sqlType, java.lang.String typeName)voidsetObject(int parameterIndex, java.lang.Object x)voidsetObject(int parameterIndex, java.lang.Object x, int targetSqlType)voidsetObject(int parameterIndex, java.lang.Object x, int targetSqlType, int scaleOrLength)voidsetObject(int parameterIndex, java.lang.Object x, java.sql.SQLType targetSqlType)voidsetObject(int parameterIndex, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength)voidsetObject(java.lang.String parameterName, java.lang.Object x)voidsetObject(java.lang.String parameterName, java.lang.Object x, int targetSqlType)voidsetObject(java.lang.String parameterName, java.lang.Object x, int targetSqlType, int scaleOrLength)voidsetObject(java.lang.String parameterName, java.lang.Object x, java.sql.SQLType targetSqlType)voidsetObject(java.lang.String parameterName, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength)voidsetPoolable(boolean poolable)voidsetQueryTimeout(int seconds)voidsetRef(int parameterIndex, java.sql.Ref x)voidsetRef(java.lang.String parameterName, java.sql.Ref x)voidsetRowId(int parameterIndex, java.sql.RowId x)voidsetRowId(java.lang.String parameterName, java.sql.RowId x)voidsetShort(int parameterIndex, short x)voidsetShort(java.lang.String parameterName, short x)voidsetShort2(java.lang.String parameterName, java.lang.Short value)voidsetShortArray(java.lang.String parameterName, short[] values)voidsetSQLXML(int parameterIndex, java.sql.SQLXML xmlObject)voidsetSQLXML(java.lang.String parameterName, java.sql.SQLXML xmlObject)voidsetString(int parameterIndex, java.lang.String x)voidsetString(java.lang.String parameterName, java.lang.String x)voidsetStringArray(java.lang.String parameterName, java.lang.String[] values)voidsetTime(int parameterIndex, java.sql.Time x)voidsetTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal)voidsetTime(java.lang.String parameterName, java.sql.Time x)voidsetTime(java.lang.String parameterName, java.sql.Time x, java.util.Calendar cal)voidsetTimeArray(java.lang.String parameterName, java.sql.Time[] values)voidsetTimestamp(int parameterIndex, java.sql.Timestamp x)voidsetTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal)voidsetTimestamp(java.lang.String parameterName, java.sql.Timestamp x)voidsetTimestamp(java.lang.String parameterName, java.sql.Timestamp x, java.util.Calendar cal)voidsetTimestampArray(java.lang.String parameterName, java.sql.Timestamp[] values)voidsetUnicodeStream(int parameterIndex, java.io.InputStream x, int length)Deprecated.voidsetUnicodeStream(java.lang.String parameterName, java.io.InputStream x, int length)Deprecated.voidsetURL(int parameterIndex, java.net.URL x)voidsetURL(java.lang.String parameterName, java.net.URL x)<T> Tunwrap(java.lang.Class<T> arg0)
-
-
-
Field Detail
-
sql
protected final Sql sql
-
stat
protected final java.sql.PreparedStatement stat
-
-
Constructor Detail
-
StatementImpl
public StatementImpl(java.sql.PreparedStatement stat)
-
StatementImpl
public StatementImpl(java.sql.Connection conn, java.lang.String sql) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
StatementImpl
public StatementImpl(java.sql.Connection conn, java.lang.String sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
StatementImpl
public StatementImpl(java.sql.Connection conn, Sql sql) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
StatementImpl
public StatementImpl(java.sql.Connection conn, Sql sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
StatementImpl
public StatementImpl(java.sql.Connection conn, Sql sql, boolean returnGeneratedKey) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
-
Method Detail
-
getSql
protected Sql getSql()
-
executeGeneratedKey
public int executeGeneratedKey() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
executeGeneratedKeyLong
public long executeGeneratedKeyLong() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
executeMap
public <K,V> java.util.Map<K,V> executeMap(ResultSetMapper<K> keyMapper, ResultSetMapper<V> valueMapper) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
executeMap
public <K,V> java.util.Map<K,V> executeMap(ResultSetMapper<K> keyMapper, ResultSetMapper<V> valueMapper, java.util.Map<K,V> map) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
executeMap
public <K,V> java.util.Map<K,V> executeMap(java.lang.String keyColumn, java.lang.String valueColumn) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
executeMap
public <K,V> java.util.Map<K,V> executeMap(java.lang.String keyColumn, java.lang.String valueColumn, java.util.Map<K,V> map) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
executeList
public <T> java.util.List<T> executeList(ResultSetMapper<T> mapper) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
executeList
public <T> java.util.List<T> executeList(ResultSetMapper<T> mapper, java.util.List<T> list) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
executeSingle
public <T> T executeSingle(ResultSetMapper<T> mapper) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
executeScalar
public <T> T executeScalar() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
executeQuery
public void executeQuery(ResultSetHandler handler) throws java.lang.Exception
- Throws:
java.lang.Exception
-
executeStream
public void executeStream(java.lang.String streamLabel, java.io.OutputStream os, ResultSetHandler handler) throws java.lang.Exception- Throws:
java.lang.Exception
-
executeStream
public void executeStream(java.lang.String streamLabel, java.io.Writer w, ResultSetHandler handler) throws java.lang.Exception- Throws:
java.lang.Exception
-
executeNStream
public void executeNStream(java.lang.String streamLabel, java.io.Writer w, ResultSetHandler handler) throws java.lang.Exception- Throws:
java.lang.Exception
-
setLikeTag
public void setLikeTag(java.lang.String parameterName, java.lang.String tag) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNLikeTag
public void setNLikeTag(java.lang.String parameterName, java.lang.String tag) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setLike
public void setLike(java.lang.String parameterName, java.lang.String value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setLikeStart
public void setLikeStart(java.lang.String parameterName, java.lang.String value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setLikeEnd
public void setLikeEnd(java.lang.String parameterName, java.lang.String value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNLike
public void setNLike(java.lang.String parameterName, java.lang.String value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNLikeStart
public void setNLikeStart(java.lang.String parameterName, java.lang.String value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNLikeEnd
public void setNLikeEnd(java.lang.String parameterName, java.lang.String value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setLikeAny
public void setLikeAny(java.lang.String parameterName, java.lang.String[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setLikeAnyStart
public void setLikeAnyStart(java.lang.String parameterName, java.lang.String[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setLikeAnyEnd
public void setLikeAnyEnd(java.lang.String parameterName, java.lang.String[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setLikeAny
public void setLikeAny(java.lang.String parameterName, java.lang.String[] values, LikeType likeType, java.lang.String falsePattern) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNLikeAny
public void setNLikeAny(java.lang.String parameterName, java.lang.String[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNLikeAnyStart
public void setNLikeAnyStart(java.lang.String parameterName, java.lang.String[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNLikeAnyEnd
public void setNLikeAnyEnd(java.lang.String parameterName, java.lang.String[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNLikeAny
public void setNLikeAny(java.lang.String parameterName, java.lang.String[] values, LikeType likeType, java.lang.String falsePattern) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setStringArray
public void setStringArray(java.lang.String parameterName, java.lang.String[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNStringArray
public void setNStringArray(java.lang.String parameterName, java.lang.String[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setByteArray
public void setByteArray(java.lang.String parameterName, byte[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setShortArray
public void setShortArray(java.lang.String parameterName, short[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setIntArray
public void setIntArray(java.lang.String parameterName, int[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setLongArray
public void setLongArray(java.lang.String parameterName, long[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setFloatArray
public void setFloatArray(java.lang.String parameterName, float[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setDoubleArray
public void setDoubleArray(java.lang.String parameterName, double[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setBigDecimalArray
public void setBigDecimalArray(java.lang.String parameterName, java.math.BigDecimal[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setDateArray
public void setDateArray(java.lang.String parameterName, java.sql.Date[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setTimestampArray
public void setTimestampArray(java.lang.String parameterName, java.sql.Timestamp[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setTimeArray
public void setTimeArray(java.lang.String parameterName, java.sql.Time[] values) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setBoolean2
public void setBoolean2(java.lang.String parameterName, java.lang.Boolean value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setByte2
public void setByte2(java.lang.String parameterName, java.lang.Byte value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setShort2
public void setShort2(java.lang.String parameterName, java.lang.Short value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setInt2
public void setInt2(java.lang.String parameterName, java.lang.Integer value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setLong2
public void setLong2(java.lang.String parameterName, java.lang.Long value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setFloat2
public void setFloat2(java.lang.String parameterName, java.lang.Float value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setDouble2
public void setDouble2(java.lang.String parameterName, java.lang.Double value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setBoolean
public void setBoolean(java.lang.String parameterName, boolean x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setString
public void setString(java.lang.String parameterName, java.lang.String x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNString
public void setNString(java.lang.String parameterName, java.lang.String value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setByte
public void setByte(java.lang.String parameterName, byte x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setBytes
public void setBytes(java.lang.String parameterName, byte[] x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setShort
public void setShort(java.lang.String parameterName, short x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setInt
public void setInt(java.lang.String parameterName, int x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setLong
public void setLong(java.lang.String parameterName, long x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setFloat
public void setFloat(java.lang.String parameterName, float x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setDouble
public void setDouble(java.lang.String parameterName, double x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setBigDecimal
public void setBigDecimal(java.lang.String parameterName, java.math.BigDecimal x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setDate
public void setDate(java.lang.String parameterName, java.sql.Date x, java.util.Calendar cal) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setDate
public void setDate(java.lang.String parameterName, java.sql.Date x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setTimestamp
public void setTimestamp(java.lang.String parameterName, java.sql.Timestamp x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setTimestamp
public void setTimestamp(java.lang.String parameterName, java.sql.Timestamp x, java.util.Calendar cal) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setTime
public void setTime(java.lang.String parameterName, java.sql.Time x, java.util.Calendar cal) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setTime
public void setTime(java.lang.String parameterName, java.sql.Time x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNull
public void setNull(java.lang.String parameterName, int sqlType, java.lang.String typeName) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNull
public void setNull(java.lang.String parameterName, int sqlType) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setObject
public void setObject(java.lang.String parameterName, java.lang.Object x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setObject
public void setObject(java.lang.String parameterName, java.lang.Object x, int targetSqlType, int scaleOrLength) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setObject
public void setObject(java.lang.String parameterName, java.lang.Object x, java.sql.SQLType targetSqlType) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setObject
public void setObject(java.lang.String parameterName, java.lang.Object x, int targetSqlType) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setObject
public void setObject(java.lang.String parameterName, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setURL
public void setURL(java.lang.String parameterName, java.net.URL x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setArray
public void setArray(java.lang.String parameterName, java.sql.Array x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setSQLXML
public void setSQLXML(java.lang.String parameterName, java.sql.SQLXML xmlObject) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setRef
public void setRef(java.lang.String parameterName, java.sql.Ref x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setRowId
public void setRowId(java.lang.String parameterName, java.sql.RowId x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setClob
public void setClob(java.lang.String parameterName, java.io.Reader reader, long length) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setClob
public void setClob(java.lang.String parameterName, java.sql.Clob x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setClob
public void setClob(java.lang.String parameterName, java.io.Reader reader) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNClob
public void setNClob(java.lang.String parameterName, java.sql.NClob value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNClob
public void setNClob(java.lang.String parameterName, java.io.Reader reader, long length) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNClob
public void setNClob(java.lang.String parameterName, java.io.Reader reader) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setAsciiStream
public void setAsciiStream(java.lang.String parameterName, java.io.InputStream x, int length) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setAsciiStream
public void setAsciiStream(java.lang.String parameterName, java.io.InputStream x, long length) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setAsciiStream
public void setAsciiStream(java.lang.String parameterName, java.io.InputStream x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setCharacterStream
public void setCharacterStream(java.lang.String parameterName, java.io.Reader reader, long length) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setCharacterStream
public void setCharacterStream(java.lang.String parameterName, java.io.Reader reader, int length) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setCharacterStream
public void setCharacterStream(java.lang.String parameterName, java.io.Reader reader) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNCharacterStream
public void setNCharacterStream(java.lang.String parameterName, java.io.Reader value, long length) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNCharacterStream
public void setNCharacterStream(java.lang.String parameterName, java.io.Reader value) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setUnicodeStream
@Deprecated public void setUnicodeStream(java.lang.String parameterName, java.io.InputStream x, int length) throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
setBlob
public void setBlob(java.lang.String parameterName, java.sql.Blob x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setBlob
public void setBlob(java.lang.String parameterName, java.io.InputStream inputStream) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setBlob
public void setBlob(java.lang.String parameterName, java.io.InputStream inputStream, long length) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setBinaryStream
public void setBinaryStream(java.lang.String parameterName, java.io.InputStream x, long length) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setBinaryStream
public void setBinaryStream(java.lang.String parameterName, java.io.InputStream x) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setBinaryStream
public void setBinaryStream(java.lang.String parameterName, java.io.InputStream x, int length) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
executeUpdate
public int executeUpdate() throws java.sql.SQLException- Specified by:
executeUpdatein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
executeLargeUpdate
public long executeLargeUpdate() throws java.sql.SQLException- Specified by:
executeLargeUpdatein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
execute
public boolean execute() throws java.sql.SQLException- Specified by:
executein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
executeQuery
public ResultSetImpl executeQuery() throws java.sql.SQLException
- Specified by:
executeQueryin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setBoolean
public void setBoolean(int parameterIndex, boolean x) throws java.sql.SQLException- Specified by:
setBooleanin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setString
public void setString(int parameterIndex, java.lang.String x) throws java.sql.SQLException- Specified by:
setStringin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNString
public void setNString(int parameterIndex, java.lang.String value) throws java.sql.SQLException- Specified by:
setNStringin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setByte
public void setByte(int parameterIndex, byte x) throws java.sql.SQLException- Specified by:
setBytein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setBytes
public void setBytes(int parameterIndex, byte[] x) throws java.sql.SQLException- Specified by:
setBytesin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setShort
public void setShort(int parameterIndex, short x) throws java.sql.SQLException- Specified by:
setShortin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setInt
public void setInt(int parameterIndex, int x) throws java.sql.SQLException- Specified by:
setIntin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setLong
public void setLong(int parameterIndex, long x) throws java.sql.SQLException- Specified by:
setLongin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setFloat
public void setFloat(int parameterIndex, float x) throws java.sql.SQLException- Specified by:
setFloatin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setDouble
public void setDouble(int parameterIndex, double x) throws java.sql.SQLException- Specified by:
setDoublein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setBigDecimal
public void setBigDecimal(int parameterIndex, java.math.BigDecimal x) throws java.sql.SQLException- Specified by:
setBigDecimalin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setDate
public void setDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
setDatein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setDate
public void setDate(int parameterIndex, java.sql.Date x) throws java.sql.SQLException- Specified by:
setDatein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setTimestamp
public void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws java.sql.SQLException- Specified by:
setTimestampin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setTimestamp
public void setTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
setTimestampin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setTime
public void setTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal) throws java.sql.SQLException- Specified by:
setTimein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setTime
public void setTime(int parameterIndex, java.sql.Time x) throws java.sql.SQLException- Specified by:
setTimein interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNull
public void setNull(int parameterIndex, int sqlType, java.lang.String typeName) throws java.sql.SQLException- Specified by:
setNullin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNull
public void setNull(int parameterIndex, int sqlType) throws java.sql.SQLException- Specified by:
setNullin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setObject
public void setObject(int parameterIndex, java.lang.Object x) throws java.sql.SQLException- Specified by:
setObjectin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setObject
public void setObject(int parameterIndex, java.lang.Object x, int targetSqlType, int scaleOrLength) throws java.sql.SQLException- Specified by:
setObjectin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setObject
public void setObject(int parameterIndex, java.lang.Object x, java.sql.SQLType targetSqlType) throws java.sql.SQLException- Specified by:
setObjectin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setObject
public void setObject(int parameterIndex, java.lang.Object x, int targetSqlType) throws java.sql.SQLException- Specified by:
setObjectin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setObject
public void setObject(int parameterIndex, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException- Specified by:
setObjectin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setURL
public void setURL(int parameterIndex, java.net.URL x) throws java.sql.SQLException- Specified by:
setURLin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setArray
public void setArray(int parameterIndex, java.sql.Array x) throws java.sql.SQLException- Specified by:
setArrayin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setSQLXML
public void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException- Specified by:
setSQLXMLin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setRef
public void setRef(int parameterIndex, java.sql.Ref x) throws java.sql.SQLException- Specified by:
setRefin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setRowId
public void setRowId(int parameterIndex, java.sql.RowId x) throws java.sql.SQLException- Specified by:
setRowIdin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setClob
public void setClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
setClobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setClob
public void setClob(int parameterIndex, java.sql.Clob x) throws java.sql.SQLException- Specified by:
setClobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setClob
public void setClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
setClobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNClob
public void setNClob(int parameterIndex, java.sql.NClob value) throws java.sql.SQLException- Specified by:
setNClobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNClob
public void setNClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
setNClobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNClob
public void setNClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
setNClobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setAsciiStream
public void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
setAsciiStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setAsciiStream
public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
setAsciiStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setAsciiStream
public void setAsciiStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException- Specified by:
setAsciiStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setCharacterStream
public void setCharacterStream(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException- Specified by:
setCharacterStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setCharacterStream
public void setCharacterStream(int parameterIndex, java.io.Reader reader, int length) throws java.sql.SQLException- Specified by:
setCharacterStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setCharacterStream
public void setCharacterStream(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException- Specified by:
setCharacterStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNCharacterStream
public void setNCharacterStream(int parameterIndex, java.io.Reader value, long length) throws java.sql.SQLException- Specified by:
setNCharacterStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setNCharacterStream
public void setNCharacterStream(int parameterIndex, java.io.Reader value) throws java.sql.SQLException- Specified by:
setNCharacterStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setUnicodeStream
@Deprecated public void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLExceptionDeprecated.- Specified by:
setUnicodeStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setBlob
public void setBlob(int parameterIndex, java.sql.Blob x) throws java.sql.SQLException- Specified by:
setBlobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setBlob
public void setBlob(int parameterIndex, java.io.InputStream inputStream) throws java.sql.SQLException- Specified by:
setBlobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setBlob
public void setBlob(int parameterIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException- Specified by:
setBlobin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setBinaryStream
public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException- Specified by:
setBinaryStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setBinaryStream
public void setBinaryStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException- Specified by:
setBinaryStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
setBinaryStream
public void setBinaryStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException- Specified by:
setBinaryStreamin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
addBatch
public void addBatch() throws java.sql.SQLException- Specified by:
addBatchin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
clearParameters
public void clearParameters() throws java.sql.SQLException- Specified by:
clearParametersin interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
getMetaData
public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException- Specified by:
getMetaDatain interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
getParameterMetaData
public java.sql.ParameterMetaData getParameterMetaData() throws java.sql.SQLException- Specified by:
getParameterMetaDatain interfacejava.sql.PreparedStatement- Throws:
java.sql.SQLException
-
executeLargeUpdate
public long executeLargeUpdate(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException- Specified by:
executeLargeUpdatein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
executeLargeUpdate
public long executeLargeUpdate(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException- Specified by:
executeLargeUpdatein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
executeLargeUpdate
public long executeLargeUpdate(java.lang.String sql) throws java.sql.SQLException- Specified by:
executeLargeUpdatein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
executeLargeUpdate
public long executeLargeUpdate(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException- Specified by:
executeLargeUpdatein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
executeUpdate
public int executeUpdate(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException- Specified by:
executeUpdatein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
executeUpdate
public int executeUpdate(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException- Specified by:
executeUpdatein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
executeUpdate
public int executeUpdate(java.lang.String sql) throws java.sql.SQLException- Specified by:
executeUpdatein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
executeUpdate
public int executeUpdate(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException- Specified by:
executeUpdatein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
execute
public boolean execute(java.lang.String sql) throws java.sql.SQLException- Specified by:
executein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
execute
public boolean execute(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException- Specified by:
executein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
execute
public boolean execute(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException- Specified by:
executein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
execute
public boolean execute(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException- Specified by:
executein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
executeBatch
public int[] executeBatch() throws java.sql.SQLException- Specified by:
executeBatchin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
executeLargeBatch
public long[] executeLargeBatch() throws java.sql.SQLException- Specified by:
executeLargeBatchin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
executeQuery
public ResultSetImpl executeQuery(java.lang.String sql) throws java.sql.SQLException
- Specified by:
executeQueryin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
setQueryTimeout
public void setQueryTimeout(int seconds) throws java.sql.SQLException- Specified by:
setQueryTimeoutin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
setCursorName
public void setCursorName(java.lang.String name) throws java.sql.SQLException- Specified by:
setCursorNamein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
setEscapeProcessing
public void setEscapeProcessing(boolean enable) throws java.sql.SQLException- Specified by:
setEscapeProcessingin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
setFetchDirection
public void setFetchDirection(int direction) throws java.sql.SQLException- Specified by:
setFetchDirectionin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
setFetchSize
public void setFetchSize(int rows) throws java.sql.SQLException- Specified by:
setFetchSizein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
setLargeMaxRows
public void setLargeMaxRows(long max) throws java.sql.SQLException- Specified by:
setLargeMaxRowsin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
setMaxFieldSize
public void setMaxFieldSize(int max) throws java.sql.SQLException- Specified by:
setMaxFieldSizein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
setMaxRows
public void setMaxRows(int max) throws java.sql.SQLException- Specified by:
setMaxRowsin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
setPoolable
public void setPoolable(boolean poolable) throws java.sql.SQLException- Specified by:
setPoolablein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getLargeUpdateCount
public long getLargeUpdateCount() throws java.sql.SQLException- Specified by:
getLargeUpdateCountin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getUpdateCount
public int getUpdateCount() throws java.sql.SQLException- Specified by:
getUpdateCountin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getQueryTimeout
public int getQueryTimeout() throws java.sql.SQLException- Specified by:
getQueryTimeoutin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
addBatch
public void addBatch(java.lang.String sql) throws java.sql.SQLException- Specified by:
addBatchin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
cancel
public void cancel() throws java.sql.SQLException- Specified by:
cancelin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
clearBatch
public void clearBatch() throws java.sql.SQLException- Specified by:
clearBatchin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
clearWarnings
public void clearWarnings() throws java.sql.SQLException- Specified by:
clearWarningsin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
closeOnCompletion
public void closeOnCompletion() throws java.sql.SQLException- Specified by:
closeOnCompletionin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getConnection
public java.sql.Connection getConnection() throws java.sql.SQLException- Specified by:
getConnectionin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getFetchDirection
public int getFetchDirection() throws java.sql.SQLException- Specified by:
getFetchDirectionin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getFetchSize
public int getFetchSize() throws java.sql.SQLException- Specified by:
getFetchSizein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getGeneratedKeys
public java.sql.ResultSet getGeneratedKeys() throws java.sql.SQLException- Specified by:
getGeneratedKeysin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getLargeMaxRows
public long getLargeMaxRows() throws java.sql.SQLException- Specified by:
getLargeMaxRowsin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getMaxFieldSize
public int getMaxFieldSize() throws java.sql.SQLException- Specified by:
getMaxFieldSizein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getMaxRows
public int getMaxRows() throws java.sql.SQLException- Specified by:
getMaxRowsin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getMoreResults
public boolean getMoreResults() throws java.sql.SQLException- Specified by:
getMoreResultsin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getMoreResults
public boolean getMoreResults(int current) throws java.sql.SQLException- Specified by:
getMoreResultsin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getResultSet
public java.sql.ResultSet getResultSet() throws java.sql.SQLException- Specified by:
getResultSetin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getResultSetConcurrency
public int getResultSetConcurrency() throws java.sql.SQLException- Specified by:
getResultSetConcurrencyin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getResultSetHoldability
public int getResultSetHoldability() throws java.sql.SQLException- Specified by:
getResultSetHoldabilityin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getResultSetType
public int getResultSetType() throws java.sql.SQLException- Specified by:
getResultSetTypein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
getWarnings
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException- Specified by:
getWarningsin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
isCloseOnCompletion
public boolean isCloseOnCompletion() throws java.sql.SQLException- Specified by:
isCloseOnCompletionin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
isClosed
public boolean isClosed() throws java.sql.SQLException- Specified by:
isClosedin interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
isPoolable
public boolean isPoolable() throws java.sql.SQLException- Specified by:
isPoolablein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
isWrapperFor
public boolean isWrapperFor(java.lang.Class<?> arg0) throws java.sql.SQLException- Specified by:
isWrapperForin interfacejava.sql.Wrapper- Throws:
java.sql.SQLException
-
unwrap
public <T> T unwrap(java.lang.Class<T> arg0) throws java.sql.SQLException- Specified by:
unwrapin interfacejava.sql.Wrapper- Throws:
java.sql.SQLException
-
close
public void close() throws java.sql.SQLException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.sql.Statement- Throws:
java.sql.SQLException
-
-