com.tlv8.Dao.SQLUtilsClient


 Class Summary
  com.tlv8.Dao.SQLUtilsClient
Ibatis数据库操作

 Field Summary
   

 Method Summary
List<Map>  selectforList(String strSQL)
执行SQL查询
void  insertAccount(String strSQL)
执行插入SQL语句
int  updateAccount(String strSQL)
执行更新SQL语句
int  deleteAccount(String strSQL)
执行删除SQL语句
SqlMapClient  getSqlMapper()
获取Ibatis数据操作对象

 Class Detail

com.tlv8.Dao.SQLUtilsClient

实例化: SQLUtilsClient sqlclient = new SQLUtilsClient(dbkey);

import com.tlv8.Dao.SQLUtilsClient;

获取数据操作对象:SqlMapClient

SqlMapClient sqlMapper = sqlclient.getSqlMapper();

 Method Detail
List<Map>  selectforList(String strSQL)
执行SQL查询返回List

   Parameters:
    strSQL
         {string}字符串

   Returns:
        {List} 如果没有查询到数据,返回的List长度为0;


void  insertAccount(String strSQL)
执行插入SQL语句

   Parameters:
    strSQL
         {string}字符串

   Returns:
         {void}

   throws:
         {java.sql.SQLException}


int  updateAccount(String strSQL)
执行更新SQL语句

   Parameters:
    strSQL
         {string}字符串

   Returns:
         {int} 返回执行SQL影响的数据行数


int  deleteAccount(String strSQL)
执行删除SQL语句

   Parameters:
    strSQL
         {string}字符串

   Returns:
         {int} 返回执行SQL影响的数据行数

   throws:
         {java.sql.SQLException}


SqlMapClient  getSqlMapper()
获取Ibatis数据操作对象

   Returns:
         {com.ibatis.sqlmap.client.SqlMapClient}