Interface SqlSessionCallback<T>
public interface SqlSessionCallback<T>
Callback API for performing work with a
SqlSession.-
Method Summary
Modifier and TypeMethodDescriptiondoWithSqlSession(org.apache.ibatis.session.SqlSession session) Perform some task with aSqlSession.
-
Method Details
-
doWithSqlSession
Perform some task with aSqlSession.- Parameters:
session- the session object- Returns:
- some object (possibly null)
-