<result column="potential_id"  property="potentialIntent" select="hh_sql_deploy.queryIntent" />
为什么select设置的没有运行啊.亲....
以前用hibernate现在用ibatis不熟啊.求指教,现在还在加班呢.伤不起.来个会ibatis的朋友.我QQ535528121iBATIS

解决方案 »

  1.   

    我用的是mybatis,怎么感觉跟你这完全不一样??
      

  2.   

    楼主我对你彻底无奈了。。
    你这是融合了多种语言的精华哈。
    你这是ibatis么?
    最基本的配置
    <typeAlias alias="Account" type="com.mydomain.domain.Account"/>  
    <select id="selectAllAccounts" resultClass="Account">  
        select * from ACCOUNT  
      </select>  
      

  3.   

    楼主,建议你下载ibatis的源码,然后用他的example中的例子试一试,应该就知道如何使用ibatis。
    不过现在ibatis已经更新为mybatis,你可以更新版的!
    http://code.google.com/p/mybatis/这里面,新版本、样例工程、文档都有,你可以看看!