org.lexevs.dao.database.ibatis.batch
Class SqlMapExecutorBatchInserter

java.lang.Object
  extended by org.lexevs.dao.database.ibatis.batch.SqlMapExecutorBatchInserter
All Implemented Interfaces:
BatchInserter, Inserter

public class SqlMapExecutorBatchInserter
extends java.lang.Object
implements BatchInserter

The Class SqlMapExecutorBatchInserter.

Author:
Kevin Peterson

Constructor Summary
SqlMapExecutorBatchInserter(com.ibatis.sqlmap.client.SqlMapExecutor sqlMapExecutor)
          Instantiates a new sql map executor batch inserter.
 
Method Summary
 void executeBatch()
          Execute batch.
 com.ibatis.sqlmap.client.SqlMapExecutor getSqlMapExecutor()
          Gets the sql map executor.
 void insert(java.lang.String sql, java.lang.Object parameter)
          Insert.
 void setSqlMapExecutor(com.ibatis.sqlmap.client.SqlMapExecutor sqlMapExecutor)
          Sets the sql map executor.
 void startBatch()
          Start batch.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlMapExecutorBatchInserter

public SqlMapExecutorBatchInserter(com.ibatis.sqlmap.client.SqlMapExecutor sqlMapExecutor)
Instantiates a new sql map executor batch inserter.

Parameters:
sqlMapExecutor - the sql map executor
Method Detail

executeBatch

public void executeBatch()
Description copied from interface: BatchInserter
Execute batch.

Specified by:
executeBatch in interface BatchInserter

startBatch

public void startBatch()
Description copied from interface: BatchInserter
Start batch.

Specified by:
startBatch in interface BatchInserter

insert

public void insert(java.lang.String sql,
                   java.lang.Object parameter)
Description copied from interface: Inserter
Insert.

Specified by:
insert in interface Inserter
Parameters:
sql - the sql
parameter - the parameter

getSqlMapExecutor

public com.ibatis.sqlmap.client.SqlMapExecutor getSqlMapExecutor()
Gets the sql map executor.

Returns:
the sql map executor

setSqlMapExecutor

public void setSqlMapExecutor(com.ibatis.sqlmap.client.SqlMapExecutor sqlMapExecutor)
Sets the sql map executor.

Parameters:
sqlMapExecutor - the new sql map executor

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.