Enum Class SqlBatchSupport.JdbcBatchInsertMode

java.lang.Object
java.lang.Enum<SqlBatchSupport.JdbcBatchInsertMode>
io.micronaut.data.runtime.operations.internal.sql.SqlBatchSupport.JdbcBatchInsertMode
All Implemented Interfaces:
Serializable, Comparable<SqlBatchSupport.JdbcBatchInsertMode>, Constable
Enclosing class:
SqlBatchSupport

public static enum SqlBatchSupport.JdbcBatchInsertMode extends Enum<SqlBatchSupport.JdbcBatchInsertMode>
How a JDBC insert batch operation has to be executed.
Since:
5.2.0
  • Enum Constant Details

  • Method Details

    • values

      public static SqlBatchSupport.JdbcBatchInsertMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

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

      public boolean isBatch()
      Returns:
      true if a JDBC batch can be used
    • isReadGeneratedKeys

      public boolean isReadGeneratedKeys()
      Returns:
      true if generated keys can be read back from the batch