eu.drus.jpa.unit.neo4j.DataSeedStrategyProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jpa-unit-neo4j Show documentation
Show all versions of jpa-unit-neo4j Show documentation
JUnit extension for simple testing of JPA entities and components
The newest version!
package eu.drus.jpa.unit.neo4j;
import eu.drus.jpa.unit.api.DataSeedStrategy.StrategyProvider;
import eu.drus.jpa.unit.neo4j.operation.Neo4JOperation;
import eu.drus.jpa.unit.neo4j.operation.Neo4JOperations;
public class DataSeedStrategyProvider implements StrategyProvider {
@Override
public Neo4JOperation insertStrategy() {
return Neo4JOperations.INSERT;
}
@Override
public Neo4JOperation cleanInsertStrategy() {
return Neo4JOperations.CLEAN_INSERT;
}
@Override
public Neo4JOperation refreshStrategy() {
return Neo4JOperations.REFRESH;
}
@Override
public Neo4JOperation updateStrategy() {
return Neo4JOperations.UPDATE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy