Package com.alibaba.druid.support.ibatis

Examples of com.alibaba.druid.support.ibatis.SqlMapSessionWrapper


    public void test_wrap() throws Exception {
        SqlMapClientImpl client = (SqlMapClientImpl) context.getBean("master-sqlMapClient");
        Assert.assertNotNull(client);

        SqlMapSessionImpl session = new SqlMapSessionImpl(client);
        SqlMapSessionWrapper wrapper = new SqlMapSessionWrapper(client, session);

        wrapper.startTransaction();
        wrapper.commitTransaction();
        wrapper.getDataSource();
        wrapper.getCurrentConnection();
        wrapper.getUserConnection();
        wrapper.close();
    }
View Full Code Here

TOP

Related Classes of com.alibaba.druid.support.ibatis.SqlMapSessionWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.