public interface Settings
Modifier and Type | Method and Description |
---|---|
Class<? extends Interceptor> |
getSessionInterceptorClass() |
PersistenceUnitTransactionType |
getTransactionType() |
boolean |
isReleaseResourcesOnCloseEnabled()
Should resources held by
EntityManager instance be released immediately on close?
The other option is to release them as part of an after-transaction callback. |
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 © 2001-2015 Red Hat, Inc. All Rights Reserved.