All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.drus.jpa.unit.sql.dbunit.DataSeedStrategyProvider Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
package eu.drus.jpa.unit.sql.dbunit;

import org.dbunit.operation.DatabaseOperation;

import eu.drus.jpa.unit.api.DataSeedStrategy.StrategyProvider;

public class DataSeedStrategyProvider implements StrategyProvider {

    @Override
    public DatabaseOperation insertStrategy() {
        return DatabaseOperation.INSERT;
    }

    @Override
    public DatabaseOperation cleanInsertStrategy() {
        return DatabaseOperation.CLEAN_INSERT;
    }

    @Override
    public DatabaseOperation refreshStrategy() {
        return DatabaseOperation.REFRESH;
    }

    @Override
    public DatabaseOperation updateStrategy() {
        return DatabaseOperation.UPDATE;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy