Groovy Documentation

griffon.plugins.mybatis
[Java] Interface MybatisContributionHandler


public interface MybatisContributionHandler

Authors:
Andres Almiray


Method Summary
MybatisProvider getMybatisProvider()

void setMybatisProvider(MybatisProvider provider)

R withSqlSession(Closure closure)

R withSqlSession(String sessionFactoryName, Closure closure)

R withSqlSession(CallableWithArgs callable)

R withSqlSession(String sessionFactoryName, CallableWithArgs callable)

 

Method Detail

getMybatisProvider

public MybatisProvider getMybatisProvider()


setMybatisProvider

public void setMybatisProvider(MybatisProvider provider)


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