T - the Configuration type expected by this bundlepublic abstract class ScanningEntityManagerBundle<T extends io.dropwizard.Configuration> extends EntityManagerBundle<T>
EntityManagerBundle that scans a given package for entities instead of requiring entities
to be explicitly listed.DEFAULT_NAME| Modifier | Constructor and Description |
|---|---|
protected |
ScanningEntityManagerBundle(String path,
String... paths) |
configure, configure, getEntityManagerFactory, getSharedEntityManager, initialize, isSerializeLazyLoadedEntitiesEnabled, name, run, setSerializeLazyLoadedEntitiesEnabledprotected ScanningEntityManagerBundle(String path, String... paths)
path - string with package containing JPA entities (classes annotated with @Entity
annotation) e.g. com.my.application.directory.entitiespaths - any additional strings with packages containing JPA entitiesCopyright © 2016. All rights reserved.