Hi, I'm getting confused with the following.

How to build/run iBatis.NET applications without internet connection?


My Mapping file is quite simple, so what should I replace here to make it
work without internet connection.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE sqlMap
PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"
"http://ibatis.apache.org/dtd/sql-map-2.dtd";>

<sqlMap namespace="MyMarket.Mappings" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xmlns="
http://ibatis.apache.org/mapping";>
<resultMaps>
<resultMap id="products" class="HashTable">
<result property="Id" column="ID"/>
<result property="Name" column="name"/>
</resultMap>
</resultMaps>
<statements>
<select id="GetCathegoryProducts" resultType="products" parameterClass="
System.Collections.IDictionary">
SELECT pr.id, pr.name
FROM product pr, store st, seller se
WHERE pr.id = st.product_id
AND st.seller_id = se.id
AND pr.type_id=#typeId#
AND se.id =#sellerId#
</select>
</statements>
</sqlMap>


Thanks in advance.

Reply via email to