org.sonar.core.persistence
Class MyBatis
java.lang.Object
org.sonar.core.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()
openBatchSession
public BatchSession openBatchSession()
closeQuietly
public static void closeQuietly(org.apache.ibatis.session.SqlSession session)
Copyright © 2009-2012 SonarSource. All Rights Reserved.