@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Inherited public @interface EntityManagerConfig
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends EntityManagerResolver> |
entityManagerResolver
References the type which provides the EntityManager for a specific repository.
|
javax.persistence.FlushModeType |
flushMode
Set the flush mode for the repository EntityManager.
|
Class<? extends Annotation>[] |
qualifier
If no entityManagerResolver is specified, then these qualifiers will be used to look up an entity manager
|
public abstract Class<? extends EntityManagerResolver> entityManagerResolver
public abstract Class<? extends Annotation>[] qualifier
Copyright © 2020 The Apache Software Foundation. All rights reserved.