用ibatis开发时   
项目中的配置文件的摸板从哪考呀
ibatis的开发包吗  ibatis-2.3.4.726.jar我看这里都是.class文件呀  没有找到什么摸板感觉ibatis配置挺麻烦的   sqlMapConfig.xml   user.xml  logic4g.properties摸板   web.xml中的ibatis支持什么的都在哪
找呀   

解决方案 »

  1.   

    那这个摸板是不是从ibatis开发包中找呀  ibatis-2.3.4.726.jar这个是它的开发包吗  
      

  2.   

    有ibator,可生成sql映射文件
    ibatis,半自动,是麻烦些
      

  3.   

    sqlMapConfig.xml,user.xml的配置在demo里面找一个
    logic4g.properties,网上n多
    web.xml中的ibatis支持什么:web.xm不需要配置
      

  4.   

    ibatis的开发包是什么呀  ibatis-2.3.4.726.jar这个不是ibatis的开发包吧   还是不知道从哪找
      

  5.   

    无语啦,给你贴一个吧:
    sqlMapConfig :<?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-config-2.dtd"><sqlMapConfig>  <settings
        cacheModelsEnabled="false"
        enhancementEnabled="false"
        maxSessions="64"
        maxTransactions="8"
        maxRequests="128"/> <transactionManager type="JDBC" >
      <dataSource type="JNDI">
        <property name="DataSource" value="java:comp/env/jdbc/test"/>
      </dataSource>
      </transactionManager>
      <sqlMap resource="com/ommon.xml"/></sqlMapConfig>user.xml:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd"><!-- The SQL in these maps files has purposely been typed with more verbosity than is actually required.
     For example, many of the selects could have just used SELECT * FROM... instead of listing all of the columns.
     This is to demonstrate that even complex SQL can be handled and coded and formatted the way SQL was meant
     to be (i.e. not a bunch of concatenated strings in a Java class). --><sqlMap namespace="User">
      <select id="queryUserCount" parameterClass="user" resultClass="Integer">
      SELECT COUNT(USER_ID) FROM OA_USER WHERE FLAG = '1'
       <isNotEmpty property="userName"> 
    AND USER_NAME LIKE '%$userName$%'
    </isNotEmpty>
    <isNotEmpty property="userAccount"> 
    AND USER_ACCOUNT LIKE '%$userAccount$%'
    </isNotEmpty>
    <isNotEmpty property="unitId"> 
        AND UNIT_ID = #unitId#
      </isNotEmpty>
      </select>
    </sqlMap>
      

  6.   

    这些我在网上也能找到但是我自己不知道这个ibatis开发包是哪个  
    我想在ibatis的开发包中自己找找看
      

  7.   

    iBatis很简单,如果你不会反射先别学,如果精通反射机制相信你理解的会更好,不用一天全学会,上官网下开发包,都带例子,里面又模板,还有你问那个properties文件,平时不会写啊?
    那我还是劝你加强一下基础吧,请务必尊重学习规律!
      

  8.   

    请问哪个是ibatis的开发包呀   ibatis-2.3.4.726.jar这个是吗   里面全是.class文件    这个配置文件摸板在哪找呀   我没找到
      

  9.   

    直接把他的例子  配置文件  COPY 到你要配置的文件中 
    就会有自动提示了