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 implementation.
11 * Implementations of JpaCustomizer are found using {@link ServiceLoader}. In case
12 * of testing with a specific JPA provider, the customizer library for that JPA provider
13 * must be on the classpath as well.
15 * @author Erik Brakkee
17 public interface JpaCustomizer {
19 void customize(PersistenceUnitDescription aPersistenceUnit, Map<String,String> aJpaProperties);
21 ITableFilterSimple getJpaTables();