org.wamblee.test.persistence
Interface JpaCustomizer

All Known Implementing Classes:
CompositeJpaCustomizer

public interface JpaCustomizer

JPA customizer is used to customize properties for a given JPA implementation. Implementations of JpaCustomizer are found using ServiceLoader. In case of testing with a specific JPA provider, the customizer library for that JPA provider must be on the classpath as well.

Author:
Erik Brakkee

Method Summary
 void customize(PersistenceUnitDescription aPersistenceUnit, java.util.Map<java.lang.String,java.lang.String> aJpaProperties)
          Customizes the persistence unit through properties.
 org.dbunit.dataset.filter.ITableFilterSimple getJpaTables()
          Gets the tables specific to the JPA provider.
 

Method Detail

customize

void customize(PersistenceUnitDescription aPersistenceUnit,
               java.util.Map<java.lang.String,java.lang.String> aJpaProperties)
Customizes the persistence unit through properties.

Parameters:
aPersistenceUnit - Persistence unit.
aJpaProperties - Current properties.

getJpaTables

org.dbunit.dataset.filter.ITableFilterSimple getJpaTables()
Gets the tables specific to the JPA provider.

Returns:
Tables.


Copyright © 2010. All Rights Reserved.