Groovy Documentation

griffon.plugins.mybatis
[Java] Class AbstractMybatisProvider

java.lang.Object
  griffon.plugins.mybatis.AbstractMybatisProvider
All Implemented Interfaces:
MybatisProvider

public abstract class AbstractMybatisProvider
extends Object

Authors:
Andres Almiray


Field Summary
private static String DEFAULT

private static org.slf4j.Logger LOG

 
Constructor Summary
AbstractMybatisProvider()

 
Method Summary
protected org.apache.ibatis.session.SqlSessionFactory getSessionFactory(String sessionFactoryName)

R withSqlSession(Closure closure)

R withSqlSession(String sessionFactoryName, Closure closure)

R withSqlSession(CallableWithArgs callable)

R withSqlSession(String sessionFactoryName, CallableWithArgs callable)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

DEFAULT

private static final String DEFAULT


LOG

private static final org.slf4j.Logger LOG


 
Constructor Detail

AbstractMybatisProvider

AbstractMybatisProvider()


 
Method Detail

getSessionFactory

protected org.apache.ibatis.session.SqlSessionFactory getSessionFactory(String sessionFactoryName)


withSqlSession

public R withSqlSession(Closure closure)


withSqlSession

public R withSqlSession(String sessionFactoryName, Closure closure)


withSqlSession

public R withSqlSession(CallableWithArgs callable)


withSqlSession

public R withSqlSession(String sessionFactoryName, CallableWithArgs callable)


 

Groovy Documentation