Class DelegatingSqlSessionFactory

java.lang.Object
org.camunda.bpm.qa.performance.engine.util.DelegatingSqlSessionFactory
All Implemented Interfaces:
org.apache.ibatis.session.SqlSessionFactory
Direct Known Subclasses:
StatementLogSqlSessionFactory

public class DelegatingSqlSessionFactory extends Object implements org.apache.ibatis.session.SqlSessionFactory

Implements the SqlSessionFactory delegating to a wrapped SqlSessionFactory

Author:
Daniel Meyer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.ibatis.session.SqlSessionFactory
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    DelegatingSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory wrappSqlSessionFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.ibatis.session.Configuration
     
    org.apache.ibatis.session.SqlSession
     
    org.apache.ibatis.session.SqlSession
    openSession(boolean autoCommit)
     
    org.apache.ibatis.session.SqlSession
    openSession(Connection connection)
     
    org.apache.ibatis.session.SqlSession
    openSession(org.apache.ibatis.session.ExecutorType execType)
     
    org.apache.ibatis.session.SqlSession
    openSession(org.apache.ibatis.session.ExecutorType execType, boolean autoCommit)
     
    org.apache.ibatis.session.SqlSession
    openSession(org.apache.ibatis.session.ExecutorType execType, Connection connection)
     
    org.apache.ibatis.session.SqlSession
    openSession(org.apache.ibatis.session.ExecutorType execType, org.apache.ibatis.session.TransactionIsolationLevel level)
     
    org.apache.ibatis.session.SqlSession
    openSession(org.apache.ibatis.session.TransactionIsolationLevel level)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • wrappedSessionFactory

      protected org.apache.ibatis.session.SqlSessionFactory wrappedSessionFactory
  • Constructor Details

    • DelegatingSqlSessionFactory

      public DelegatingSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory wrappSqlSessionFactory)
  • Method Details

    • openSession

      public org.apache.ibatis.session.SqlSession openSession()
      Specified by:
      openSession in interface org.apache.ibatis.session.SqlSessionFactory
    • openSession

      public org.apache.ibatis.session.SqlSession openSession(boolean autoCommit)
      Specified by:
      openSession in interface org.apache.ibatis.session.SqlSessionFactory
    • openSession

      public org.apache.ibatis.session.SqlSession openSession(Connection connection)
      Specified by:
      openSession in interface org.apache.ibatis.session.SqlSessionFactory
    • openSession

      public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.TransactionIsolationLevel level)
      Specified by:
      openSession in interface org.apache.ibatis.session.SqlSessionFactory
    • openSession

      public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType)
      Specified by:
      openSession in interface org.apache.ibatis.session.SqlSessionFactory
    • openSession

      public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType, boolean autoCommit)
      Specified by:
      openSession in interface org.apache.ibatis.session.SqlSessionFactory
    • openSession

      public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType, org.apache.ibatis.session.TransactionIsolationLevel level)
      Specified by:
      openSession in interface org.apache.ibatis.session.SqlSessionFactory
    • openSession

      public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType execType, Connection connection)
      Specified by:
      openSession in interface org.apache.ibatis.session.SqlSessionFactory
    • getConfiguration

      public org.apache.ibatis.session.Configuration getConfiguration()
      Specified by:
      getConfiguration in interface org.apache.ibatis.session.SqlSessionFactory