ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kani <mozhi_k...@yahoo.com>
Subject Ibatis IRAD
Date Thu, 04 Oct 2007 18:10:33 GMT

 I 'm using iBATIS 2.0 with the WebSphere6. In my sqlMapConfig file, the IRAD
server complains about Unknownhost exception "www.ibatis.com" . 
<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"
"http://www.ibatis.com/dtd/sql-map-config-2.dtd"> 

<sqlMapConfig> 
   <settings cacheModelsEnabled="true" 
             lazyLoadingEnabled="false"   
             enhancementEnabled="true" 
             maxSessions       ="64" 
             maxTransactions   ="8" 
             maxRequests       ="128" /> 

   <transactionManager type="JDBC"> 
      <property name="UserTransaction" value="java:comp/env/UserTransaction"
/> 

      <dataSource type="JNDI"> 
         <property name="DataSource" value="java:comp/env/kpts" /> 
      </dataSource> 
   </transactionManager> 

   <sqlMap resource="PfHeader.xml" /> 

</sqlMapConfig> 

And also the same with the data configuration 

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE sqlMap 
    PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" 
    "http://www.ibatis.com/dtd/sql-map-2.dtd"> 

<sqlMap namespace="PfmeaHeader"> 

   <typeAlias alias="Header"
type="com.dcx.mfg.ame.kpts.pfmea.model.PfmeaHeader"/> 

<!--     <select id="getPfmea"  parameterClass="int" resultClass="Header"> 
      select I_FMEA_NUM as fmeaNum,I_FMEA_DESC fmeaDesc,C_AUTHOR_ID engId 
      from   MFHEADR_TBL 
      where  I_FMEA_NUM = #fmeaNum# 
   </select> 
 --> 
   <select id="getPfmea"  resultClass="Header"> 
      select I_FMEA_NUM as fmeaNum,I_FMEA_DESC fmeaDesc,C_AUTHOR_ID engId 
      from   MFHEADR_TBL 
      where  I_FMEA_NUM = 48 
   </select> 
</sqlMap> 
-- 
View this message in context: http://www.nabble.com/Ibatis-IRAD-tf4570451.html#a13045535
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message