I have the following <resultmap id="allCategories" class="Category" > <result property="categoryid" column="categoryid" /> <result property="prods" resultMap="mymap.products"/> </resultMap>
<resultMap id="mymap.products" class="Product" > <result property="name" column="productname"/> </resultMap> <statement id="getAll" resultMap="allCategories"> ... </statement> when i execute "getAll", category.getProds() returns Collection of procuts. Is there any way I can get category.getProds to return a HashMap instead of a collection ? Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
