org.alfresco.repo.domain.control.ibatis
Class ControlDAOImpl
java.lang.Object
org.alfresco.repo.domain.control.AbstractControlDAOImpl
org.alfresco.repo.domain.control.ibatis.ControlDAOImpl
- All Implemented Interfaces:
- ControlDAO
- Direct Known Subclasses:
- ControlDAOImpl.PostgreSQL
public class ControlDAOImpl
- extends AbstractControlDAOImpl
iBatis-specific, DB-agnostic implementation for connection controlling DAO.
- Since:
- 3.2SP1
Field Summary |
protected org.mybatis.spring.SqlSessionTemplate |
template
The myBatis-specific template for convenient statement execution. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
template
protected org.mybatis.spring.SqlSessionTemplate template
- The myBatis-specific template for convenient statement execution.
ControlDAOImpl
public ControlDAOImpl()
setSqlSessionTemplate
public final void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
startBatch
public void startBatch()
- Description copied from interface:
ControlDAO
- Begin batching prepared statements for later execution.
- See Also:
ControlDAO.executeBatch()
executeBatch
public void executeBatch()
- Description copied from interface:
ControlDAO
- Execute statements that were queued for batching.
- See Also:
ControlDAO.startBatch()
setTransactionIsolationLevel
public int setTransactionIsolationLevel(int isolationLevel)
- Description copied from interface:
ControlDAO
- Change the current transaction isolation level.
Note: The isolation level should not - and for some DBs, cannot - be changed
except at the very start of the transaction
- Specified by:
setTransactionIsolationLevel
in interface ControlDAO
- Overrides:
setTransactionIsolationLevel
in class AbstractControlDAOImpl
- Parameters:
isolationLevel
- the transaction isolation level
- Returns:
- Returns the previously-set isolation
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.