@RequestScoped public class RequestScopedSessionHolder extends Object
Constructor and Description |
---|
RequestScopedSessionHolder() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
org.hibernate.Session |
getOrCreateSession(String name,
org.hibernate.SessionFactory factory) |
public org.hibernate.Session getOrCreateSession(String name, org.hibernate.SessionFactory factory)
@PreDestroy public void destroy()
Copyright © 2021 JBoss by Red Hat. All rights reserved.