| java.lang.Object com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl
SqlMapSessionImpl | public class SqlMapSessionImpl implements SqlMapSession(Code) | | Implementation of SqlMapSession
|
Method Summary | |
public void | close() | public void | commitTransaction() | public int | delete(String id, Object param) | public int | delete(String id) | public void | endTransaction() | public int | executeBatch() | public List | executeBatchDetailed() | public Connection | getCurrentConnection() | public DataSource | getDataSource() | public SqlMapExecutorDelegate | getDelegate() | public MappedStatement | getMappedStatement(String id) | public SqlExecutor | getSqlExecutor() | public Connection | getUserConnection() | public Object | insert(String id, Object param) | public Object | insert(String id) | public boolean | isClosed() | public boolean | isEnhancementEnabled() | public boolean | isLazyLoadingEnabled() | public void | open() | public List | queryForList(String id, Object paramObject) | public List | queryForList(String id) | public List | queryForList(String id, Object paramObject, int skip, int max) | public List | queryForList(String id, int skip, int max) | public Map | queryForMap(String id, Object paramObject, String keyProp) | public Map | queryForMap(String id, Object paramObject, String keyProp, String valueProp) | public Object | queryForObject(String id, Object paramObject) | public Object | queryForObject(String id) | public Object | queryForObject(String id, Object paramObject, Object resultObject) | public PaginatedList | queryForPaginatedList(String id, Object paramObject, int pageSize) | public PaginatedList | queryForPaginatedList(String id, int pageSize) | public void | queryWithRowHandler(String id, Object paramObject, RowHandler rowHandler) | public void | queryWithRowHandler(String id, RowHandler rowHandler) | public void | setUserConnection(Connection connection) | public void | startBatch() | public void | startTransaction() | public void | startTransaction(int transactionIsolation) | public int | update(String id, Object param) | public int | update(String id) |
closed | protected boolean closed(Code) | | |
SqlMapSessionImpl | public SqlMapSessionImpl(ExtendedSqlMapClient client)(Code) | | Constructor
Parameters: client - - the client that will use the session |
close | public void close()(Code) | | |
getMappedStatement | public MappedStatement getMappedStatement(String id)(Code) | | Gets a mapped statement by ID
Parameters: id - - the ID - the mapped statement |
getSqlExecutor | public SqlExecutor getSqlExecutor()(Code) | | Get the SQL executor
- the executor |
isClosed | public boolean isClosed()(Code) | | Getter to tell if the session is still open
- the status of the session |
isEnhancementEnabled | public boolean isEnhancementEnabled()(Code) | | Get the status of CGLib enhancements
- the status |
isLazyLoadingEnabled | public boolean isLazyLoadingEnabled()(Code) | | Get the status of lazy loading
- the status |
open | public void open()(Code) | | Start the session
|
startTransaction | public void startTransaction(int transactionIsolation) throws SQLException(Code) | | |
|
|