com.github.database.rider.core.api.dataset

Enum SeedStrategy

  • All Implemented Interfaces:
    Serializable, Comparable<SeedStrategy>


    public enum SeedStrategyextends Enum<SeedStrategy>
    Same as arquillian persistence: https://docs.jboss.org/author/display/ARQ/Persistence Data insert strategies DBUnit, and hence Arquillian Persistence Extension, provides following strategies for inserting data INSERT Performs insert of the data defined in provided data sets. This is the default strategy. CLEAN_INSERT Performs insert of the data defined in provided data sets, after removal of all data present in the tables (DELETE_ALL invoked by DBUnit before INSERT). REFRESH During this operation existing rows are updated and new ones are inserted. Entries already existing in the database which are not defined in the provided data set are not affected. UPDATE This strategy updates existing rows using data provided in the datasets. If dataset contain a row which is not present in the database (identified by its primary key) then exception is thrown.
    • Method Detail

      • values

        public static SeedStrategy[] values()
        Returns an array containing the constants of this enum type, inthe order they are declared. This method may be used to iterateover the constants as follows:
        for (SeedStrategy c : SeedStrategy.values())    System.out.println(c);
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SeedStrategy valueOf(String name)
        Returns the enum constant of this type with the specified name.The string must match exactly an identifier used to declare anenum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getOperation

        public org.dbunit.operation.DatabaseOperation getOperation()

Copyright © 2019. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14