org.sonar.persistence
Class MyBatis
java.lang.Object
org.sonar.persistence.MyBatis
- All Implemented Interfaces:
- BatchComponent, ServerComponent
public class MyBatis
- extends Object
- implements BatchComponent, ServerComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyBatis
public MyBatis(Database database)
start
public MyBatis start()
throws IOException
- Throws:
IOException
getSessionFactory
public org.apache.ibatis.session.SqlSessionFactory getSessionFactory()
openSession
public org.apache.ibatis.session.SqlSession openSession()
openSession
public org.apache.ibatis.session.SqlSession openSession(org.apache.ibatis.session.ExecutorType type)
Copyright © 2009-2011 SonarSource. All Rights Reserved.