Interface RelationalPreparedStatement
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.sql.PreparedStatement
,java.sql.Statement
,java.sql.Wrapper
public interface RelationalPreparedStatement extends java.sql.PreparedStatement
Extension ofPreparedStatement
to allow for Relational specific Prepared Statements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
addBatch()
default void
addBatch(java.lang.String sql)
default void
cancel()
default void
clearBatch()
default void
clearParameters()
default void
clearWarnings()
default void
closeOnCompletion()
boolean
execute()
default boolean
execute(java.lang.String sql)
default boolean
execute(java.lang.String sql, int autoGeneratedKeys)
default boolean
execute(java.lang.String sql, int[] columnIndexes)
default boolean
execute(java.lang.String sql, java.lang.String[] columnNames)
default int[]
executeBatch()
RelationalResultSet
executeQuery()
default java.sql.ResultSet
executeQuery(java.lang.String sql)
default int
executeUpdate()
default int
executeUpdate(java.lang.String sql)
default int
executeUpdate(java.lang.String sql, int autoGeneratedKeys)
default int
executeUpdate(java.lang.String sql, int[] columnIndexes)
default int
executeUpdate(java.lang.String sql, java.lang.String[] columnNames)
default java.sql.Connection
getConnection()
default int
getFetchDirection()
default int
getFetchSize()
default java.sql.ResultSet
getGeneratedKeys()
default int
getMaxFieldSize()
default java.sql.ResultSetMetaData
getMetaData()
default boolean
getMoreResults()
default boolean
getMoreResults(int current)
default java.sql.ParameterMetaData
getParameterMetaData()
default int
getQueryTimeout()
RelationalResultSet
getResultSet()
default int
getResultSetConcurrency()
default int
getResultSetHoldability()
default int
getResultSetType()
default int
getUpdateCount()
default java.sql.SQLWarning
getWarnings()
default boolean
isCloseOnCompletion()
default boolean
isPoolable()
default boolean
isWrapperFor(java.lang.Class<?> iface)
void
setArray(java.lang.String parameterName, java.sql.Array x)
Sets the designated parameter to the given Array.default void
setAsciiStream(int parameterIndex, java.io.InputStream x)
default void
setAsciiStream(int parameterIndex, java.io.InputStream x, int length)
default void
setAsciiStream(int parameterIndex, java.io.InputStream x, long length)
default void
setBigDecimal(int parameterIndex, java.math.BigDecimal x)
default void
setBinaryStream(int parameterIndex, java.io.InputStream x)
default void
setBinaryStream(int parameterIndex, java.io.InputStream x, int length)
default void
setBinaryStream(int parameterIndex, java.io.InputStream x, long length)
default void
setBlob(int parameterIndex, java.io.InputStream inputStream)
default void
setBlob(int parameterIndex, java.io.InputStream inputStream, long length)
default void
setBlob(int parameterIndex, java.sql.Blob x)
void
setBoolean(java.lang.String parameterName, boolean x)
Sets the designated parameter to the given Javaboolean
value.default void
setByte(int parameterIndex, byte x)
void
setBytes(java.lang.String parameterName, byte[] x)
Sets the designated parameter to the given Java array of bytes.default void
setCharacterStream(int parameterIndex, java.io.Reader reader)
default void
setCharacterStream(int parameterIndex, java.io.Reader reader, int length)
default void
setCharacterStream(int parameterIndex, java.io.Reader reader, long length)
default void
setClob(int parameterIndex, java.io.Reader reader)
default void
setClob(int parameterIndex, java.io.Reader reader, long length)
default void
setClob(int parameterIndex, java.sql.Clob x)
default void
setCursorName(java.lang.String name)
default void
setDate(int parameterIndex, java.sql.Date x)
default void
setDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal)
void
setDouble(java.lang.String parameterName, double x)
Sets the designated parameter to the given Javadouble
value.default void
setEscapeProcessing(boolean enable)
default void
setFetchDirection(int direction)
default void
setFetchSize(int rows)
void
setFloat(java.lang.String parameterName, float x)
Sets the designated parameter to the given Javafloat
value.void
setInt(java.lang.String parameterName, int x)
Sets the designated parameter to the given Javaint
value.void
setLong(java.lang.String parameterName, long x)
Sets the designated parameter to the given Javalong
value.default void
setMaxFieldSize(int max)
default void
setNCharacterStream(int parameterIndex, java.io.Reader value)
default void
setNCharacterStream(int parameterIndex, java.io.Reader value, long length)
default void
setNClob(int parameterIndex, java.io.Reader reader)
default void
setNClob(int parameterIndex, java.io.Reader reader, long length)
default void
setNClob(int parameterIndex, java.sql.NClob value)
default void
setNString(int parameterIndex, java.lang.String value)
default void
setNull(int parameterIndex, int sqlType, java.lang.String typeName)
void
setNull(java.lang.String parameterName, int sqlType)
Sets the designated parameter to SQLNULL
.default void
setObject(int parameterIndex, java.lang.Object x, int targetSqlType)
default void
setObject(int parameterIndex, java.lang.Object x, int targetSqlType, int scaleOrLength)
void
setObject(java.lang.String parameterName, java.lang.Object x)
Sets the designated parameter to the given Object.default void
setPoolable(boolean poolable)
default void
setQueryTimeout(int seconds)
default void
setRef(int parameterIndex, java.sql.Ref x)
default void
setRowId(int parameterIndex, java.sql.RowId x)
default void
setShort(int parameterIndex, short x)
default void
setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject)
void
setString(java.lang.String parameterName, java.lang.String x)
Sets the designated parameter to the given JavaString
value.default void
setTime(int parameterIndex, java.sql.Time x)
default void
setTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal)
default void
setTimestamp(int parameterIndex, java.sql.Timestamp x)
default void
setTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal)
default void
setUnicodeStream(int parameterIndex, java.io.InputStream x, int length)
Deprecated.default void
setURL(int parameterIndex, java.net.URL x)
default <T> T
unwrap(java.lang.Class<T> iface)
-
Methods inherited from interface java.sql.PreparedStatement
executeLargeUpdate, setArray, setBoolean, setBytes, setDouble, setFloat, setInt, setLong, setNull, setObject, setObject, setObject, setString
-
Methods inherited from interface java.sql.Statement
close, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, getMaxRows, isClosed, isSimpleIdentifier, setLargeMaxRows, setMaxRows
-
-
-
-
Method Detail
-
executeQuery
RelationalResultSet executeQuery() throws java.sql.SQLException
- Specified by:
executeQuery
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
execute
boolean execute() throws java.sql.SQLException
- Specified by:
execute
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
getResultSet
RelationalResultSet getResultSet() throws java.sql.SQLException
- Specified by:
getResultSet
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
setBoolean
void setBoolean(java.lang.String parameterName, boolean x) throws java.sql.SQLException
Sets the designated parameter to the given Javaboolean
value.- Parameters:
parameterName
- the name of the parameterx
- the parameter value- Throws:
java.sql.SQLException
- if parameterName does not correspond to a parameter marker in the SQL statement; if a database access error occurs or this method is called on a closedPreparedStatement
-
setInt
void setInt(java.lang.String parameterName, int x) throws java.sql.SQLException
Sets the designated parameter to the given Javaint
value.- Parameters:
parameterName
- the name of the parameterx
- the parameter value- Throws:
java.sql.SQLException
- if parameterName does not correspond to a parameter marker in the SQL statement; if a database access error occurs or this method is called on a closedPreparedStatement
-
setLong
void setLong(java.lang.String parameterName, long x) throws java.sql.SQLException
Sets the designated parameter to the given Javalong
value.- Parameters:
parameterName
- the name of the parameterx
- the parameter value- Throws:
java.sql.SQLException
- if parameterName does not correspond to a parameter marker in the SQL statement; if a database access error occurs or this method is called on a closedPreparedStatement
-
setFloat
void setFloat(java.lang.String parameterName, float x) throws java.sql.SQLException
Sets the designated parameter to the given Javafloat
value.- Parameters:
parameterName
- the name of the parameterx
- the parameter value- Throws:
java.sql.SQLException
- if parameterName does not correspond to a parameter marker in the SQL statement; if a database access error occurs or this method is called on a closedPreparedStatement
-
setDouble
void setDouble(java.lang.String parameterName, double x) throws java.sql.SQLException
Sets the designated parameter to the given Javadouble
value.- Parameters:
parameterName
- the name of the parameterx
- the parameter value- Throws:
java.sql.SQLException
- if parameterName does not correspond to a parameter marker in the SQL statement; if a database access error occurs or this method is called on a closedPreparedStatement
-
setString
void setString(java.lang.String parameterName, java.lang.String x) throws java.sql.SQLException
Sets the designated parameter to the given JavaString
value.- Parameters:
parameterName
- the name of the parameterx
- the parameter value- Throws:
java.sql.SQLException
- if parameterName does not correspond to a parameter marker in the SQL statement; if a database access error occurs or this method is called on a closedPreparedStatement
-
setBytes
void setBytes(java.lang.String parameterName, byte[] x) throws java.sql.SQLException
Sets the designated parameter to the given Java array of bytes.- Parameters:
parameterName
- the name of the parameterx
- the parameter value- Throws:
java.sql.SQLException
- if parameterName does not correspond to a parameter marker in the SQL statement; if a database access error occurs or this method is called on a closedPreparedStatement
-
setArray
void setArray(java.lang.String parameterName, java.sql.Array x) throws java.sql.SQLException
Sets the designated parameter to the given Array.- Parameters:
parameterName
- the name of the parameterx
- the parameter value- Throws:
java.sql.SQLException
- if parameterName does not correspond to a parameter marker in the SQL statement; if a database access error occurs or this method is called on a closedPreparedStatement
-
setObject
void setObject(java.lang.String parameterName, java.lang.Object x) throws java.sql.SQLException
Sets the designated parameter to the given Object.- Parameters:
parameterName
- the name of the parameterx
- the parameter value- Throws:
java.sql.SQLException
- if parameterName does not correspond to a parameter marker in the SQL statement; if a database access error occurs or this method is called on a closedPreparedStatement
-
setNull
void setNull(java.lang.String parameterName, int sqlType) throws java.sql.SQLException
Sets the designated parameter to SQLNULL
.Note: You must specify the parameter's SQL type.
- Parameters:
parameterName
- the name of the parametersqlType
- the SQL type code defined injava.sql.Types
- Throws:
java.sql.SQLException
- if parameterIndex does not correspond to a parameter marker in the SQL statement; if a database access error occurs or this method is called on a closedPreparedStatement
-
executeUpdate
default int executeUpdate() throws java.sql.SQLException
- Specified by:
executeUpdate
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setByte
default void setByte(int parameterIndex, byte x) throws java.sql.SQLException
- Specified by:
setByte
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setShort
default void setShort(int parameterIndex, short x) throws java.sql.SQLException
- Specified by:
setShort
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setBigDecimal
default void setBigDecimal(int parameterIndex, java.math.BigDecimal x) throws java.sql.SQLException
- Specified by:
setBigDecimal
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setDate
default void setDate(int parameterIndex, java.sql.Date x) throws java.sql.SQLException
- Specified by:
setDate
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setTime
default void setTime(int parameterIndex, java.sql.Time x) throws java.sql.SQLException
- Specified by:
setTime
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setTimestamp
default void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws java.sql.SQLException
- Specified by:
setTimestamp
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setAsciiStream
default void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException
- Specified by:
setAsciiStream
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setUnicodeStream
@Deprecated default void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException
Deprecated.- Specified by:
setUnicodeStream
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setBinaryStream
default void setBinaryStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException
- Specified by:
setBinaryStream
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
clearParameters
default void clearParameters() throws java.sql.SQLException
- Specified by:
clearParameters
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setObject
default void setObject(int parameterIndex, java.lang.Object x, int targetSqlType) throws java.sql.SQLException
- Specified by:
setObject
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
addBatch
default void addBatch() throws java.sql.SQLException
- Specified by:
addBatch
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setCharacterStream
default void setCharacterStream(int parameterIndex, java.io.Reader reader, int length) throws java.sql.SQLException
- Specified by:
setCharacterStream
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setRef
default void setRef(int parameterIndex, java.sql.Ref x) throws java.sql.SQLException
- Specified by:
setRef
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setBlob
default void setBlob(int parameterIndex, java.sql.Blob x) throws java.sql.SQLException
- Specified by:
setBlob
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setClob
default void setClob(int parameterIndex, java.sql.Clob x) throws java.sql.SQLException
- Specified by:
setClob
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
getMetaData
default java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException
- Specified by:
getMetaData
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setDate
default void setDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal) throws java.sql.SQLException
- Specified by:
setDate
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setTime
default void setTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal) throws java.sql.SQLException
- Specified by:
setTime
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setTimestamp
default void setTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal) throws java.sql.SQLException
- Specified by:
setTimestamp
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setNull
default void setNull(int parameterIndex, int sqlType, java.lang.String typeName) throws java.sql.SQLException
- Specified by:
setNull
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setURL
default void setURL(int parameterIndex, java.net.URL x) throws java.sql.SQLException
- Specified by:
setURL
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
getParameterMetaData
default java.sql.ParameterMetaData getParameterMetaData() throws java.sql.SQLException
- Specified by:
getParameterMetaData
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setRowId
default void setRowId(int parameterIndex, java.sql.RowId x) throws java.sql.SQLException
- Specified by:
setRowId
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setNString
default void setNString(int parameterIndex, java.lang.String value) throws java.sql.SQLException
- Specified by:
setNString
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setNCharacterStream
default void setNCharacterStream(int parameterIndex, java.io.Reader value, long length) throws java.sql.SQLException
- Specified by:
setNCharacterStream
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setNClob
default void setNClob(int parameterIndex, java.sql.NClob value) throws java.sql.SQLException
- Specified by:
setNClob
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setClob
default void setClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException
- Specified by:
setClob
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setBlob
default void setBlob(int parameterIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
- Specified by:
setBlob
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setNClob
default void setNClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException
- Specified by:
setNClob
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setSQLXML
default void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException
- Specified by:
setSQLXML
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setObject
default void setObject(int parameterIndex, java.lang.Object x, int targetSqlType, int scaleOrLength) throws java.sql.SQLException
- Specified by:
setObject
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setAsciiStream
default void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException
- Specified by:
setAsciiStream
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setBinaryStream
default void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException
- Specified by:
setBinaryStream
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setCharacterStream
default void setCharacterStream(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException
- Specified by:
setCharacterStream
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setAsciiStream
default void setAsciiStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException
- Specified by:
setAsciiStream
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setBinaryStream
default void setBinaryStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException
- Specified by:
setBinaryStream
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setCharacterStream
default void setCharacterStream(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException
- Specified by:
setCharacterStream
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setNCharacterStream
default void setNCharacterStream(int parameterIndex, java.io.Reader value) throws java.sql.SQLException
- Specified by:
setNCharacterStream
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setClob
default void setClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException
- Specified by:
setClob
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setBlob
default void setBlob(int parameterIndex, java.io.InputStream inputStream) throws java.sql.SQLException
- Specified by:
setBlob
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
setNClob
default void setNClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException
- Specified by:
setNClob
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
executeQuery
default java.sql.ResultSet executeQuery(java.lang.String sql) throws java.sql.SQLException
- Specified by:
executeQuery
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
executeUpdate
default int executeUpdate(java.lang.String sql) throws java.sql.SQLException
- Specified by:
executeUpdate
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
getMaxFieldSize
default int getMaxFieldSize() throws java.sql.SQLException
- Specified by:
getMaxFieldSize
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
setMaxFieldSize
default void setMaxFieldSize(int max) throws java.sql.SQLException
- Specified by:
setMaxFieldSize
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
setEscapeProcessing
default void setEscapeProcessing(boolean enable) throws java.sql.SQLException
- Specified by:
setEscapeProcessing
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
getQueryTimeout
default int getQueryTimeout() throws java.sql.SQLException
- Specified by:
getQueryTimeout
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
setQueryTimeout
default void setQueryTimeout(int seconds) throws java.sql.SQLException
- Specified by:
setQueryTimeout
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
cancel
default void cancel() throws java.sql.SQLException
- Specified by:
cancel
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
getWarnings
default java.sql.SQLWarning getWarnings() throws java.sql.SQLException
- Specified by:
getWarnings
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
clearWarnings
default void clearWarnings() throws java.sql.SQLException
- Specified by:
clearWarnings
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
setCursorName
default void setCursorName(java.lang.String name) throws java.sql.SQLException
- Specified by:
setCursorName
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
execute
default boolean execute(java.lang.String sql) throws java.sql.SQLException
- Specified by:
execute
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
getUpdateCount
default int getUpdateCount() throws java.sql.SQLException
- Specified by:
getUpdateCount
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
getMoreResults
default boolean getMoreResults() throws java.sql.SQLException
- Specified by:
getMoreResults
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
setFetchDirection
default void setFetchDirection(int direction) throws java.sql.SQLException
- Specified by:
setFetchDirection
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
getFetchDirection
default int getFetchDirection() throws java.sql.SQLException
- Specified by:
getFetchDirection
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
setFetchSize
default void setFetchSize(int rows) throws java.sql.SQLException
- Specified by:
setFetchSize
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
getFetchSize
default int getFetchSize() throws java.sql.SQLException
- Specified by:
getFetchSize
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
getResultSetConcurrency
default int getResultSetConcurrency() throws java.sql.SQLException
- Specified by:
getResultSetConcurrency
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
getResultSetType
default int getResultSetType() throws java.sql.SQLException
- Specified by:
getResultSetType
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
addBatch
default void addBatch(java.lang.String sql) throws java.sql.SQLException
- Specified by:
addBatch
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
clearBatch
default void clearBatch() throws java.sql.SQLException
- Specified by:
clearBatch
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
executeBatch
default int[] executeBatch() throws java.sql.SQLException
- Specified by:
executeBatch
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
getConnection
default java.sql.Connection getConnection() throws java.sql.SQLException
- Specified by:
getConnection
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
getMoreResults
default boolean getMoreResults(int current) throws java.sql.SQLException
- Specified by:
getMoreResults
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
getGeneratedKeys
default java.sql.ResultSet getGeneratedKeys() throws java.sql.SQLException
- Specified by:
getGeneratedKeys
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
executeUpdate
default int executeUpdate(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException
- Specified by:
executeUpdate
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
executeUpdate
default int executeUpdate(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException
- Specified by:
executeUpdate
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
executeUpdate
default int executeUpdate(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException
- Specified by:
executeUpdate
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
execute
default boolean execute(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException
- Specified by:
execute
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
execute
default boolean execute(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException
- Specified by:
execute
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
execute
default boolean execute(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException
- Specified by:
execute
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
getResultSetHoldability
default int getResultSetHoldability() throws java.sql.SQLException
- Specified by:
getResultSetHoldability
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
setPoolable
default void setPoolable(boolean poolable) throws java.sql.SQLException
- Specified by:
setPoolable
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
isPoolable
default boolean isPoolable() throws java.sql.SQLException
- Specified by:
isPoolable
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
closeOnCompletion
default void closeOnCompletion() throws java.sql.SQLException
- Specified by:
closeOnCompletion
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
isCloseOnCompletion
default boolean isCloseOnCompletion() throws java.sql.SQLException
- Specified by:
isCloseOnCompletion
in interfacejava.sql.Statement
- Throws:
java.sql.SQLException
-
unwrap
default <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
- Specified by:
unwrap
in interfacejava.sql.Wrapper
- Throws:
java.sql.SQLException
-
isWrapperFor
default boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
- Specified by:
isWrapperFor
in interfacejava.sql.Wrapper
- Throws:
java.sql.SQLException
-
-