Example usage for org.apache.ibatis.session SqlSessionManager getConfiguration

List of usage examples for org.apache.ibatis.session SqlSessionManager getConfiguration

Introduction

In this page you can find the example usage for org.apache.ibatis.session SqlSessionManager getConfiguration.

Prototype

@Override
    public Configuration getConfiguration() 

Source Link

Usage

From source file:org.mybatis.guice.transactional.XASqlSessionManager.java

License:Apache License

public XASqlSessionManager(SqlSessionManager sqlSessionManager) {
    this.sqlSessionManager = sqlSessionManager;
    id = sqlSessionManager.getConfiguration().getEnvironment().getId();
}