com.github.database.rider.core.api.configuration

Annotation Type DBUnit

    • Element Detail

      • executor

        public abstract String executor
        Returns:
        executor id for which the properties will be setup.
        Default:
        "default"
      • cacheConnection

        public abstract boolean cacheConnection
        Returns:
        if true database connection will be reused among tests
        Default:
        true
      • cacheTableNames

        public abstract boolean cacheTableNames
        Default:
        true
      • leakHunter

        public abstract boolean leakHunter
        Returns:
        if true will activate connection leak detection.
        Default:
        false
      • qualifiedTableNames

        public abstract boolean qualifiedTableNames
        Returns:
        value which configures DatabaseConfig.FEATURE_QUALIFIED_TABLE_NAMES. Defaults to false.
        Default:
        false
      • batchedStatements

        public abstract boolean batchedStatements
        Returns:
        value which configures DatabaseConfig.FEATURE_BATCHED_STATEMENTS
        Default:
        false
      • caseSensitiveTableNames

        public abstract boolean caseSensitiveTableNames
        Enable or disable case sensitive table names. If enabled, Dbunit handles all table names in a case sensitive way.
        Returns:
        boolean value which configures case-sensitive table names (also columns)
        Since:
        0.15.0
        Default:
        false
      • dataTypeFactoryClass

        public abstract Class<? extends org.dbunit.dataset.datatype.IDataTypeFactory> dataTypeFactoryClass
        Returns:
        value which configures DatabaseConfig.PROPERTY_DATATYPE_FACTORY
        Default:
        org.dbunit.dataset.datatype.IDataTypeFactory.class
      • metaDataHandler

        public abstract Class<? extends org.dbunit.database.IMetadataHandler> metaDataHandler
        Returns:
        value which configures DatabaseConfig.PROPERTY_METADATA_HANDLER
        Default:
        org.dbunit.database.IMetadataHandler.class
      • replacers

        public abstract Class<? extends Replacer>[] replacers
        Returns:
        implementations of Replacer, which are merged with default replacers
        Default:
        {}
      • caseInsensitiveStrategy

        public abstract Orthography caseInsensitiveStrategy
        Specifies the orthography/letter-case strategy if caseSensitiveTableNames() is set to false (case-insensitive mode). If caseSensitiveTableNames()=false, then this property is ignored and has no effect. Defaults to Orthography.UPPERCASE.
        This is a database-rider internal property and not related to dbunit.
        Returns:
        The Orthography constant
        Since:
        1.2.0
        Default:
        com.github.database.rider.core.api.configuration.Orthography.UPPERCASE
      • mergeDataSets

        public abstract boolean mergeDataSets
        Returns:
        Enable or disable dataset merging. If enabled then datasets declared at class/test level AND method will be merged into one dataset to seed database. Note that only array properties of @DataSet annotation like 'value' and 'executeStatementsBefore' will be merged.
        Default:
        false
      • allowEmptyFields

        public abstract boolean allowEmptyFields
        Allow to call INSERT/UPDATE with empty strings ('').
        Returns:
        value which configures DatabaseConfig.FEATURE_ALLOW_EMPTY_FIELDS. Defaults to false.
        Default:
        false
      • fetchSize

        public abstract int fetchSize
        Returns:
        value which configures DatabaseConfig.PROPERTY_FETCH_SIZE. Defaults to 100
        Default:
        100
      • batchSize

        public abstract int batchSize
        Returns:
        value which configures DatabaseConfig.PROPERTY_BATCH_SIZE. Defaults to 100
        Default:
        100
      • escapePattern

        public abstract String escapePattern
        Allows schema, table and column names escaping. The property value is an escape pattern where the ? is replaced by the name. For example, the pattern "[?]" is expanded as "[MY_TABLE]" for a table named "MY_TABLE". The most common escape pattern is "\"?\"" which surrounds the table name with quotes (for the above example it would result in "\"MY_TABLE\""). As a fallback if no questionmark is in the given String and its length is one it is used to surround the table name on the left and right side. For example the escape pattern "\"" will have the same effect as the escape pattern "\"?\"".
        Returns:
        value which configures DatabaseConfig.PROPERTY_ESCAPE_PATTERN. Defaults to none
        Default:
        ""
      • driver

        public abstract String driver
        Returns:
        driver class name. Used for declarative connections. Don't needed for drivers that implement jdbc 4.
        Since:
        0.15.0
        Default:
        ""
      • url

        public abstract String url
        Returns:
        Database url. Used for declarative connections.
        Since:
        0.15.0
        Default:
        ""
      • user

        public abstract String user
        Returns:
        Username owner of database connection. Used for declarative connection.
        Since:
        0.15.0
        Default:
        ""
      • password

        public abstract String password
        Returns:
        Password of owner of database connection. Used for declarative connection.
        Since:
        0.15.0
        Default:
        ""

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