ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: Ibatis IRAD
Date Thu, 04 Oct 2007 18:17:08 GMT
Hmm, not to sound too much like I'm telling you to RTFM, but that
answer is on http://ibatis.apache.org/ (the home page), which
incidentally was the first response when I googled for "ibatis dtd".

===
DTDs @ iBATIS.com - The Deed has been done

(Jul 30, 2006) The DTDs hosted at iBATIS.com have been permanently
removed. The multiple warnings went starting with a broadcast
announcement to the mailing lists and a permanent space on the
homepage. With over 1.5 million hits to the DTD per month, it was time
to move the burden over to the Apache servers. ;-) If you're a year
behind on your email and using an old version of iBATIS, and you're
wondering why your application won't start anymore...try changing the
DOCTYPE of your XML files to the following.

<!DOCTYPE sqlMapConfig
            PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"
            "http://ibatis.apache.org/dtd/sql-map-config-2.dtd">

<!DOCTYPE sqlMap
            PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"
            "http://ibatis.apache.org/dtd/sql-map-2.dtd">

<!DOCTYPE daoConfig
            PUBLIC "-//ibatis.apache.org//DTD DAO Configuration 2.0//EN"
            "http://ibatis.apache.org/dtd/dao-2.dtd">

Notice the change to http://ibatis.apache.org/dtd/
===

Larry


On 10/4/07, Kani <mozhi_kani@yahoo.com> wrote:
>
>  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