@ApplicationScoped public class TransactionSessions extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) JPAConfig |
jpaConfig |
(package private) javax.enterprise.inject.Instance<RequestScopedSessionHolder> |
requestScopedSession |
| Constructor and Description |
|---|
TransactionSessions() |
@Inject JPAConfig jpaConfig
@Inject javax.enterprise.inject.Instance<RequestScopedSessionHolder> requestScopedSession
public org.hibernate.Session getSession(String unitName)
Copyright © 2021 JBoss by Red Hat. All rights reserved.