Example usage for org.hibernate.context.spi CurrentSessionContext interface-usage

List of usage examples for org.hibernate.context.spi CurrentSessionContext interface-usage

Introduction

In this page you can find the example usage for org.hibernate.context.spi CurrentSessionContext interface-usage.

Usage

From source file com.amalto.core.storage.hibernate.MDMTransactionSessionContext.java

public class MDMTransactionSessionContext implements CurrentSessionContext {

    private final static Map<SessionFactory, HibernateStorage> declaredStorages = new HashMap<SessionFactory, HibernateStorage>();

    private static final Logger LOGGER = Logger.getLogger(MDMTransactionSessionContext.class);

From source file com.quakearts.webapp.hibernate.CurrentSessionContextHelper.java

/**Base class for implementations of {@linkplain CurrentSessionContext}. This provides support for
 * {@link org.hibernate.SessionFactory SessionFactory}'s {@link org.hibernate.SessionFactory#getCurrentSession() getCurrentSession()}
 * method in non-JTA environments
 * @author kwakutwumasi-afriyie
 *
 */

From source file org.babyfish.hibernate.context.spi.CurrentXSessionContext.java

/**
 * @author Tao Chen
 */
public interface CurrentXSessionContext extends CurrentSessionContext {

    @Override

From source file org.beangle.orm.hibernate.BeangleSessionContext.java

/**
 * @author chaostone
 * @version $Id: BeangleSessionContext.java Feb 27, 2012 11:30:56 PM chaostone $
 */
@SuppressWarnings("serial")
public class BeangleSessionContext implements CurrentSessionContext {

From source file org.codehaus.groovy.grails.orm.hibernate.GrailsSessionContext.java

/**
 * Based on org.springframework.orm.hibernate4.SpringSessionContext.
 *
 * @author Juergen Hoeller
 * @author Burt Beckwith
 */

From source file org.grails.orm.hibernate.GrailsSessionContext.java

/**
 * Based on org.springframework.orm.hibernate4.SpringSessionContext.
 *
 * @author Juergen Hoeller
 * @author Burt Beckwith
 */

From source file org.springframework.orm.hibernate4.fix.SpringSessionContext.java

/**
 * Implementation of Hibernate 3.1's CurrentSessionContext interface
 * that delegates to Spring's SessionFactoryUtils for providing a
 * Spring-managed current Session.
 *
 * <p>This CurrentSessionContext implementation can also be specified in custom

From source file org.springframework.orm.hibernate4.SpringSessionContext.java

/**
 * Implementation of Hibernate 3.1's CurrentSessionContext interface
 * that delegates to Spring's SessionFactoryUtils for providing a
 * Spring-managed current Session.
 *
 * <p>This CurrentSessionContext implementation can also be specified in custom

From source file org.springframework.orm.hibernate43.SpringSessionContext.java

/**
 * Implementation of Hibernate 3.1's CurrentSessionContext interface
 * that delegates to Spring's SessionFactoryUtils for providing a
 * Spring-managed current Session.
 *
 * <p>This CurrentSessionContext implementation can also be specified in custom

From source file org.springframework.orm.hibernate5.SpringSessionContext.java

/**
 * Implementation of Hibernate 3.1's CurrentSessionContext interface
 * that delegates to Spring's SessionFactoryUtils for providing a
 * Spring-managed current Session.
 *
 * <p>This CurrentSessionContext implementation can also be specified in custom