Interface IUpdateProcessor


  • public interface IUpdateProcessor
    Interface implemented by an Update Processor for database transactions executing an SQL update query statement, i.e. INSERT, UPDATE or DELETE statements.
    Author:
    Christopher Mindus
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      voidonResult​(ResultProps rcProps, java.sql.PreparedStatement statement, long updateCount)
      Method called when the database transaction completes execution of the call to PreparedStatement.executeUpdate() or alike (depending on large update support or not).
    • Method Detail

      • onResult

        void onResult​(ResultProps rcProps,
                      java.sql.PreparedStatement statement,
                      long updateCount)
               throws java.sql.SQLException
        Method called when the database transaction completes execution of the call to PreparedStatement.executeUpdate() or alike (depending on large update support or not).
        Parameters:
        rcProps - The result properties.
        statement - The prepared update statement.
        updateCount - The update count.
        Throws:
        java.sql.SQLException - In case of SQL exceptions.