Enum ResultCheckStyle

    • Enum Constant Detail

      • NONE

        public static final ResultCheckStyle NONE
        Do not perform checking. Might mean that the user really just does not want any checking. Might also mean that the user is expecting a failure to be indicated by a SQLException being thrown (presumably from a CallableStatement which is performing explicit checks and propagating failures back through the driver).
      • PARAM

        public static final ResultCheckStyle PARAM
        Essentially the same as COUNT except that the row count actually comes from an output parameter registered as part of a CallableStatement. This style explicitly prohibits statement batching from being used...
    • Method Detail

      • values

        public static ResultCheckStyle[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ResultCheckStyle c : ResultCheckStyle.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ResultCheckStyle valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null