Interface AutoBindParams


  • public interface AutoBindParams
    Realize the bind from parameter to StatementAdapter automatically.
    Since:
    0.6.0
    Author:
    Alisson Gomes
    • Method Detail

      • onBulk

        int onBulk()
        Grouping multiple insert |update | delete statements into a single Prepared Statement.
        Returns:
        the number of rows affected.

        Note:

        -2 no count of the number of rows it affected is available

        -3 indicating that an error occurred while executing a bulk statement

        Throws:
        ParameterException - when a parameter values not correspond the type expected