net.sourceforge.hivetranse.transaction.ibatis
Class AbstractSqlMapClientDAO

java.lang.Object
  extended by net.sourceforge.hivetranse.transaction.ibatis.AbstractSqlMapClientDAO

public abstract class AbstractSqlMapClientDAO
extends java.lang.Object


Field Summary
protected  com.ibatis.sqlmap.client.SqlMapClient _client
           
 
Constructor Summary
protected AbstractSqlMapClientDAO(com.ibatis.sqlmap.client.SqlMapClient client)
           
 
Method Summary
protected
<T> java.util.List<T>
queryForList(java.lang.String id, java.lang.Object param)
           
protected
<T,U> java.util.Map<T,U>
queryForMap(java.lang.String id, java.lang.Object param, java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_client

protected final com.ibatis.sqlmap.client.SqlMapClient _client
Constructor Detail

AbstractSqlMapClientDAO

protected AbstractSqlMapClientDAO(com.ibatis.sqlmap.client.SqlMapClient client)
Method Detail

queryForList

protected <T> java.util.List<T> queryForList(java.lang.String id,
                                             java.lang.Object param)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

queryForMap

protected <T,U> java.util.Map<T,U> queryForMap(java.lang.String id,
                                               java.lang.Object param,
                                               java.lang.String key)
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException