Could it be a problem with the cross-SQLMap reference to the getMold statement
in the wareResult ResultMap?
 
> WareSQL.xml
> ============
> <?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="Ware">
>       
>       <typeAlias alias="ware" type="com.amervideo.ehold.data.Ware" />
> 
>       <resultMap id="wareResult" class="ware" >
>               <result property="id" column="laser_id"/>
>               <result property="name" column="laser_id" />
>               <result property="mold" column="mold_id"
> select="getMold" />
>       </resultMap>
> 
>       <statement id="getWare" 
>               resultMap="wareResult" >
>               select laser_id, mold_id
>               from av21.mes_2d_ware_tracking
>               where laser_id = #name#
>       </statement>
> 
> </sqlMap>

Reply via email to