Class PreparedStmtHolder

  • Direct Known Subclasses:
    MaskedStatementHolder

    public abstract class PreparedStmtHolder
    extends Object
    A container for parameterized prepared statement.
    • Constructor Detail

      • PreparedStmtHolder

        public PreparedStmtHolder()
    • Method Detail

      • isStmtValid

        public boolean isStmtValid()
        Whether statement is valid.
      • getStatement

        public PreparedStatement getStatement​(Object[] rec,
                                              int recversion)
        Returns prepared statement with refreshed parameters.
        Parameters:
        rec - Array of record fields' values.
        recversion - record version
      • close

        public void close()
        Closes the statement.