1 package org.wamblee.support.persistence;
4 import java.util.ServiceLoader;
6 import org.dbunit.dataset.filter.ITableFilterSimple;
9 * JPA customizer is used to customize properties for a given JPA
12 * Implementations of JpaCustomizer are found using {@link ServiceLoader}. In
13 * case of testing with a specific JPA provider, the customizer library for that
14 * JPA provider must be on the classpath as well.
16 * @author Erik Brakkee
18 public interface JpaCustomizer {
20 void customize(PersistenceUnitDescription aPersistenceUnit,
21 Map<String, String> aJpaProperties);
23 ITableFilterSimple getJpaTables();