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
/false
Class<? extends Interceptor> getSessionInterceptorClass()
Copyright © 2018. All rights reserved.