public class HibernateSessionHolder extends Object
Modifier and Type | Field and Description |
---|---|
private ConnectionProvider |
connectionProvider |
Constructor and Description |
---|
HibernateSessionHolder() |
HibernateSessionHolder(ConnectionProvider connectionProvider) |
Modifier and Type | Method and Description |
---|---|
org.hibernate.Session |
getSession() |
static org.hibernate.Session |
getSession(Object connection) |
void |
returnSession(org.hibernate.Session session) |
private final ConnectionProvider connectionProvider
public HibernateSessionHolder()
public HibernateSessionHolder(ConnectionProvider connectionProvider)
public static org.hibernate.Session getSession(Object connection) throws OwsExceptionReport
OwsExceptionReport
public org.hibernate.Session getSession() throws OwsExceptionReport
OwsExceptionReport
public void returnSession(org.hibernate.Session session)
Copyright © 2012-2014 52north.org. All Rights Reserved.