Hi,

But it is nothing.

public class BaseSqlMapDao extends SqlMapDaoTemplate {

  protected static final int PAGE_SIZE = 4;

  public BaseSqlMapDao(DaoManager daoManager) {
    super(daoManager);
  }

}

you can directly use SqlMapDaoTemplate instead.  I always follow a good habit 
of adding a base
class for every layer i have so i can have the duplicate code there.  That is 
all there is to it.

Rgds

Prashanth Sukumaran.

--- Hycel Taylor <[EMAIL PROTECTED]> wrote:

> From what I understand, looking at your source code, it appears that
> the batching is handled by, BaseSqlMapDao.
> 
> As best I can tell, this is not a standard IBatis Class.  It's package
> structure is the following:
> 
> java.lang.Object
>   com.ibatis.dao.client.template.DaoTemplate
>       com.ibatis.dao.client.template.SqlMapDaoTemplate
>           com.ibatis.jpetstore.persistence.sqlmapdao.BaseSqlMapDao
> 
> I think I need to download the pet store demo and take a look at this
> BaseSqlMapDao class.
> 
> Thanks!
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to