Interface RelationalPreparedStatement

  • All Superinterfaces:
    java.lang.AutoCloseable, java.sql.PreparedStatement, java.sql.Statement, java.sql.Wrapper

    public interface RelationalPreparedStatement
    extends java.sql.PreparedStatement
    Extension of PreparedStatement to allow for Relational specific Prepared Statements.
    • Field Summary

      • Fields inherited from interface java.sql.Statement

        CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
    • 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 Java boolean 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 Java double 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 Java float value.
      void setInt​(java.lang.String parameterName, int x)
      Sets the designated parameter to the given Java int value.
      void setLong​(java.lang.String parameterName, long x)
      Sets the designated parameter to the given Java long 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 SQL NULL.
      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 Java String 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 interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • execute

        boolean execute()
                 throws java.sql.SQLException
        Specified by:
        execute in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • getResultSet

        RelationalResultSet getResultSet()
                                  throws java.sql.SQLException
        Specified by:
        getResultSet in interface java.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 Java boolean value.
        Parameters:
        parameterName - the name of the parameter
        x - 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 closed PreparedStatement
      • setInt

        void setInt​(java.lang.String parameterName,
                    int x)
             throws java.sql.SQLException
        Sets the designated parameter to the given Java int value.
        Parameters:
        parameterName - the name of the parameter
        x - 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 closed PreparedStatement
      • setLong

        void setLong​(java.lang.String parameterName,
                     long x)
              throws java.sql.SQLException
        Sets the designated parameter to the given Java long value.
        Parameters:
        parameterName - the name of the parameter
        x - 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 closed PreparedStatement
      • setFloat

        void setFloat​(java.lang.String parameterName,
                      float x)
               throws java.sql.SQLException
        Sets the designated parameter to the given Java float value.
        Parameters:
        parameterName - the name of the parameter
        x - 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 closed PreparedStatement
      • setDouble

        void setDouble​(java.lang.String parameterName,
                       double x)
                throws java.sql.SQLException
        Sets the designated parameter to the given Java double value.
        Parameters:
        parameterName - the name of the parameter
        x - 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 closed PreparedStatement
      • setString

        void setString​(java.lang.String parameterName,
                       java.lang.String x)
                throws java.sql.SQLException
        Sets the designated parameter to the given Java String value.
        Parameters:
        parameterName - the name of the parameter
        x - 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 closed PreparedStatement
      • 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 parameter
        x - 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 closed PreparedStatement
      • 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 parameter
        x - 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 closed PreparedStatement
      • 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 parameter
        x - 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 closed PreparedStatement
      • setNull

        void setNull​(java.lang.String parameterName,
                     int sqlType)
              throws java.sql.SQLException
        Sets the designated parameter to SQL NULL.

        Note: You must specify the parameter's SQL type.

        Parameters:
        parameterName - the name of the parameter
        sqlType - the SQL type code defined in java.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 closed PreparedStatement
      • executeUpdate

        default int executeUpdate()
                           throws java.sql.SQLException
        Specified by:
        executeUpdate in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setByte

        default void setByte​(int parameterIndex,
                             byte x)
                      throws java.sql.SQLException
        Specified by:
        setByte in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setShort

        default void setShort​(int parameterIndex,
                              short x)
                       throws java.sql.SQLException
        Specified by:
        setShort in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setBigDecimal

        default void setBigDecimal​(int parameterIndex,
                                   java.math.BigDecimal x)
                            throws java.sql.SQLException
        Specified by:
        setBigDecimal in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setDate

        default void setDate​(int parameterIndex,
                             java.sql.Date x)
                      throws java.sql.SQLException
        Specified by:
        setDate in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setTime

        default void setTime​(int parameterIndex,
                             java.sql.Time x)
                      throws java.sql.SQLException
        Specified by:
        setTime in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setTimestamp

        default void setTimestamp​(int parameterIndex,
                                  java.sql.Timestamp x)
                           throws java.sql.SQLException
        Specified by:
        setTimestamp in interface java.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 interface java.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 interface java.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 interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • clearParameters

        default void clearParameters()
                              throws java.sql.SQLException
        Specified by:
        clearParameters in interface java.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 interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • addBatch

        default void addBatch()
                       throws java.sql.SQLException
        Specified by:
        addBatch in interface java.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 interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setRef

        default void setRef​(int parameterIndex,
                            java.sql.Ref x)
                     throws java.sql.SQLException
        Specified by:
        setRef in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setBlob

        default void setBlob​(int parameterIndex,
                             java.sql.Blob x)
                      throws java.sql.SQLException
        Specified by:
        setBlob in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setClob

        default void setClob​(int parameterIndex,
                             java.sql.Clob x)
                      throws java.sql.SQLException
        Specified by:
        setClob in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • getMetaData

        default java.sql.ResultSetMetaData getMetaData()
                                                throws java.sql.SQLException
        Specified by:
        getMetaData in interface java.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 interface java.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 interface java.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 interface java.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 interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setURL

        default void setURL​(int parameterIndex,
                            java.net.URL x)
                     throws java.sql.SQLException
        Specified by:
        setURL in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • getParameterMetaData

        default java.sql.ParameterMetaData getParameterMetaData()
                                                         throws java.sql.SQLException
        Specified by:
        getParameterMetaData in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setRowId

        default void setRowId​(int parameterIndex,
                              java.sql.RowId x)
                       throws java.sql.SQLException
        Specified by:
        setRowId in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setNString

        default void setNString​(int parameterIndex,
                                java.lang.String value)
                         throws java.sql.SQLException
        Specified by:
        setNString in interface java.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 interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setNClob

        default void setNClob​(int parameterIndex,
                              java.sql.NClob value)
                       throws java.sql.SQLException
        Specified by:
        setNClob in interface java.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 interface java.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 interface java.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 interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setSQLXML

        default void setSQLXML​(int parameterIndex,
                               java.sql.SQLXML xmlObject)
                        throws java.sql.SQLException
        Specified by:
        setSQLXML in interface java.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 interface java.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 interface java.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 interface java.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 interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setAsciiStream

        default void setAsciiStream​(int parameterIndex,
                                    java.io.InputStream x)
                             throws java.sql.SQLException
        Specified by:
        setAsciiStream in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setBinaryStream

        default void setBinaryStream​(int parameterIndex,
                                     java.io.InputStream x)
                              throws java.sql.SQLException
        Specified by:
        setBinaryStream in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setCharacterStream

        default void setCharacterStream​(int parameterIndex,
                                        java.io.Reader reader)
                                 throws java.sql.SQLException
        Specified by:
        setCharacterStream in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setNCharacterStream

        default void setNCharacterStream​(int parameterIndex,
                                         java.io.Reader value)
                                  throws java.sql.SQLException
        Specified by:
        setNCharacterStream in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setClob

        default void setClob​(int parameterIndex,
                             java.io.Reader reader)
                      throws java.sql.SQLException
        Specified by:
        setClob in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setBlob

        default void setBlob​(int parameterIndex,
                             java.io.InputStream inputStream)
                      throws java.sql.SQLException
        Specified by:
        setBlob in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • setNClob

        default void setNClob​(int parameterIndex,
                              java.io.Reader reader)
                       throws java.sql.SQLException
        Specified by:
        setNClob in interface java.sql.PreparedStatement
        Throws:
        java.sql.SQLException
      • executeQuery

        default java.sql.ResultSet executeQuery​(java.lang.String sql)
                                         throws java.sql.SQLException
        Specified by:
        executeQuery in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • executeUpdate

        default int executeUpdate​(java.lang.String sql)
                           throws java.sql.SQLException
        Specified by:
        executeUpdate in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • getMaxFieldSize

        default int getMaxFieldSize()
                             throws java.sql.SQLException
        Specified by:
        getMaxFieldSize in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • setMaxFieldSize

        default void setMaxFieldSize​(int max)
                              throws java.sql.SQLException
        Specified by:
        setMaxFieldSize in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • setEscapeProcessing

        default void setEscapeProcessing​(boolean enable)
                                  throws java.sql.SQLException
        Specified by:
        setEscapeProcessing in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • getQueryTimeout

        default int getQueryTimeout()
                             throws java.sql.SQLException
        Specified by:
        getQueryTimeout in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • setQueryTimeout

        default void setQueryTimeout​(int seconds)
                              throws java.sql.SQLException
        Specified by:
        setQueryTimeout in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • cancel

        default void cancel()
                     throws java.sql.SQLException
        Specified by:
        cancel in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • getWarnings

        default java.sql.SQLWarning getWarnings()
                                         throws java.sql.SQLException
        Specified by:
        getWarnings in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • clearWarnings

        default void clearWarnings()
                            throws java.sql.SQLException
        Specified by:
        clearWarnings in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • setCursorName

        default void setCursorName​(java.lang.String name)
                            throws java.sql.SQLException
        Specified by:
        setCursorName in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • execute

        default boolean execute​(java.lang.String sql)
                         throws java.sql.SQLException
        Specified by:
        execute in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • getUpdateCount

        default int getUpdateCount()
                            throws java.sql.SQLException
        Specified by:
        getUpdateCount in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • getMoreResults

        default boolean getMoreResults()
                                throws java.sql.SQLException
        Specified by:
        getMoreResults in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • setFetchDirection

        default void setFetchDirection​(int direction)
                                throws java.sql.SQLException
        Specified by:
        setFetchDirection in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • getFetchDirection

        default int getFetchDirection()
                               throws java.sql.SQLException
        Specified by:
        getFetchDirection in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • setFetchSize

        default void setFetchSize​(int rows)
                           throws java.sql.SQLException
        Specified by:
        setFetchSize in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • getFetchSize

        default int getFetchSize()
                          throws java.sql.SQLException
        Specified by:
        getFetchSize in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • getResultSetConcurrency

        default int getResultSetConcurrency()
                                     throws java.sql.SQLException
        Specified by:
        getResultSetConcurrency in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • getResultSetType

        default int getResultSetType()
                              throws java.sql.SQLException
        Specified by:
        getResultSetType in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • addBatch

        default void addBatch​(java.lang.String sql)
                       throws java.sql.SQLException
        Specified by:
        addBatch in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • clearBatch

        default void clearBatch()
                         throws java.sql.SQLException
        Specified by:
        clearBatch in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • executeBatch

        default int[] executeBatch()
                            throws java.sql.SQLException
        Specified by:
        executeBatch in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • getConnection

        default java.sql.Connection getConnection()
                                           throws java.sql.SQLException
        Specified by:
        getConnection in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • getMoreResults

        default boolean getMoreResults​(int current)
                                throws java.sql.SQLException
        Specified by:
        getMoreResults in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • getGeneratedKeys

        default java.sql.ResultSet getGeneratedKeys()
                                             throws java.sql.SQLException
        Specified by:
        getGeneratedKeys in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • executeUpdate

        default int executeUpdate​(java.lang.String sql,
                                  int autoGeneratedKeys)
                           throws java.sql.SQLException
        Specified by:
        executeUpdate in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • executeUpdate

        default int executeUpdate​(java.lang.String sql,
                                  int[] columnIndexes)
                           throws java.sql.SQLException
        Specified by:
        executeUpdate in interface java.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 interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • execute

        default boolean execute​(java.lang.String sql,
                                int autoGeneratedKeys)
                         throws java.sql.SQLException
        Specified by:
        execute in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • execute

        default boolean execute​(java.lang.String sql,
                                int[] columnIndexes)
                         throws java.sql.SQLException
        Specified by:
        execute in interface java.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 interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • getResultSetHoldability

        default int getResultSetHoldability()
                                     throws java.sql.SQLException
        Specified by:
        getResultSetHoldability in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • setPoolable

        default void setPoolable​(boolean poolable)
                          throws java.sql.SQLException
        Specified by:
        setPoolable in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • isPoolable

        default boolean isPoolable()
                            throws java.sql.SQLException
        Specified by:
        isPoolable in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • closeOnCompletion

        default void closeOnCompletion()
                                throws java.sql.SQLException
        Specified by:
        closeOnCompletion in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • isCloseOnCompletion

        default boolean isCloseOnCompletion()
                                     throws java.sql.SQLException
        Specified by:
        isCloseOnCompletion in interface java.sql.Statement
        Throws:
        java.sql.SQLException
      • unwrap

        default <T> T unwrap​(java.lang.Class<T> iface)
                      throws java.sql.SQLException
        Specified by:
        unwrap in interface java.sql.Wrapper
        Throws:
        java.sql.SQLException
      • isWrapperFor

        default boolean isWrapperFor​(java.lang.Class<?> iface)
                              throws java.sql.SQLException
        Specified by:
        isWrapperFor in interface java.sql.Wrapper
        Throws:
        java.sql.SQLException