Interface RDBJDBCTools.PreparedStatementComponent

  • Enclosing class:
    RDBJDBCTools

    public static interface RDBJDBCTools.PreparedStatementComponent
    Provides a component for a PreparedStatement and a method for setting the parameters within this component
    • Method Detail

      • getStatementComponent

        @NotNull
        @NotNull java.lang.String getStatementComponent()
        Returns:
        a string suitable for inclusion into a PreparedStatement
      • setParameters

        int setParameters​(java.sql.PreparedStatement stmt,
                          int startIndex)
                   throws java.sql.SQLException
        Set the parameters need by the statement component returned by getStatementComponent()
        Parameters:
        stmt - the statement
        startIndex - of first parameter to set
        Returns:
        index of next parameter to set
        Throws:
        java.sql.SQLException