Interface PreparedStatementCreator

    • Method Detail

      • createPreparedStatement

        PreparedStatement createPreparedStatement​(Connection con)
                                           throws SQLException
        Create a statement in this connection. Allows implementations to use PreparedStatements. The JdbcTemplate will close the created statement.
        Parameters:
        con - the connection used to create statement
        Returns:
        a prepared statement
        Throws:
        SQLException - there is no need to catch SQLExceptions that may be thrown in the implementation of this method. The JdbcTemplate class will handle them.