Interface JdbcPreparedStatement

All Superinterfaces:
java.lang.AutoCloseable, JdbcStatement, java.sql.PreparedStatement, Query, java.sql.Statement, java.sql.Wrapper
All Known Implementing Classes:
CallableStatement, ClientPreparedStatement, ServerPreparedStatement

public interface JdbcPreparedStatement
extends java.sql.PreparedStatement, JdbcStatement
  • Method Details

    • realClose

      void realClose​(boolean calledExplicitly, boolean closeOpenResults) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • getQueryBindings

      QueryBindings<?> getQueryBindings()
    • getBytesRepresentation

      byte[] getBytesRepresentation​(int parameterIndex) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • getOrigBytes

      byte[] getOrigBytes​(int parameterIndex) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • getParseInfo

      ParseInfo getParseInfo()
    • isNull

      boolean isNull​(int paramIndex) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • getPreparedSql

      java.lang.String getPreparedSql()
    • setBytes

      void setBytes​(int parameterIndex, byte[] x, boolean checkForIntroducer, boolean escapeForMBChars) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • setBytesNoEscape

      void setBytesNoEscape​(int parameterIndex, byte[] parameterAsBytes) throws java.sql.SQLException
      Used by updatable result sets for refreshRow() because the parameter has already been escaped for updater or inserter prepared statements.
      Parameters:
      parameterIndex - the parameter to set.
      parameterAsBytes - the parameter as a string.
      Throws:
      java.sql.SQLException - if an error occurs
    • setBytesNoEscapeNoQuotes

      void setBytesNoEscapeNoQuotes​(int parameterIndex, byte[] parameterAsBytes) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • setBigInteger

      void setBigInteger​(int parameterIndex, java.math.BigInteger x) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • setNull

      void setNull​(int parameterIndex, MysqlType mysqlType) throws java.sql.SQLException
      Throws:
      java.sql.SQLException
    • getParameterBindings

      ParameterBindings getParameterBindings() throws java.sql.SQLException
      Throws:
      java.sql.SQLException