Example usage for org.apache.ibatis.session SqlSession interface-usage

List of usage examples for org.apache.ibatis.session SqlSession interface-usage

Introduction

In this page you can find the example usage for org.apache.ibatis.session SqlSession interface-usage.

Usage

From source file org.camunda.bpm.qa.performance.engine.util.DelegatingSqlSession.java

/**
 * <p>Implementation of {@link SqlSession} delegating to a wrapped session</p>
 *
 * @author Daniel Meyer
 *
 */

From source file org.codehaus.griffon.runtime.mybatis.SqlSessionDecorator.java

/**
 * @author Andres Almiray
 */
public class SqlSessionDecorator implements SqlSession {
    private final SqlSession delegate;

From source file org.makersoft.shards.session.ShardedSqlSession.java

/**
 * 
 * @see SqlSession
 * @see ShardedSqlSessionFactory
 */
public interface ShardedSqlSession extends SqlSession {

From source file org.makersoft.shards.spring.ShardedSqlSessionTemplate.java

/**
 * 
 */
public class ShardedSqlSessionTemplate implements SqlSession, InitializingBean {

    public ShardedSqlSessionTemplate(SqlSessionFactory sqlSessionFactory) {

From source file org.mybatis.guice.session.DbSessionManager.java

/**
 * Variant of the {@code SqlSessionManager} from MyBatis.
 *
 * Since the class uses the factory pattern inherited override is not possible to provide
 * the extra functionality needed for the MultiMapper
 *

From source file org.mybatis.spring.SqlSessionTemplate.java

/**
 * Thread safe, Spring managed, {@code SqlSession} that works with Spring
 * transaction management to ensure that that the actual SqlSession used is the
 * one associated with the current Spring transaction. In addition, it manages
 * the session life-cycle, including closing, committing or rolling back the
 * session as necessary based on the Spring transaction configuration.

From source file org.sonar.core.persistence.DbSession.java

public class DbSession implements SqlSession {

    private List<ClusterAction> actions;

    private WorkQueue queue;
    private SqlSession session;

From source file org.sonar.db.DbSession.java

public class DbSession implements SqlSession {

    private SqlSession session;

    public DbSession(SqlSession session) {
        this.session = session;

From source file org.summercool.mybatis.spring.support.SqlSessionTemplate.java

/**
 * Thread safe, Spring managed, {@code SqlSession} that works with Spring transaction management to ensure that that the
 * actual SqlSession used is the one associated with the current Spring transaction. In addition, it manages the session
 * life-cycle, including closing, committing or rolling back the session as necessary based on the Spring transaction
 * configuration. <p> The template needs a SqlSessionFactory to create SqlSessions, passed as a constructor argument. It
 * also can be constructed indicating the executor type to be used, if not, the default executor type, defined in the

From source file org.yx.sumk.batis.ProxySession.java

public class ProxySession implements SqlSession {

    @Override
    public Connection getConnection() {
        throw new SumkException(8675, "getConnection not support");
    }