public interface Settings
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Interceptor> |
getSessionInterceptorClass() |
javax.persistence.spi.PersistenceUnitTransactionType |
getTransactionType() |
boolean |
isReleaseResourcesOnCloseEnabled()
Should resources held by
EntityManager instance be released immediately on close? |
javax.persistence.spi.PersistenceUnitTransactionType getTransactionType()
boolean isReleaseResourcesOnCloseEnabled()
EntityManager instance be released immediately on close?
The other option is to release them as part of an after-transaction callback.true/falseClass<? extends Interceptor> getSessionInterceptorClass()
Copyright © 2016. All rights reserved.