|
Where you have 2.5, 20, and 40, Ibatis is
expecting a result set column name. If you can modify your query to produce the
values and modify the column attribute to say ParentImageID=ImageID,Magnification=NewColumnName then it’ll
work perfectly. Jeremy From: Luke Siler
[mailto:[EMAIL PROTECTED] Hi, I have a follow-up to my composite key parameter
question. I looked at order.xml and see the following example: <result property="FavouriteLineItem" column="Order_ID=Order_ID,LineItem_ID=Order_FavouriteLineItem" select="GetSpecificLineItem" /> I'm using the same syntax in my example but with a literal
parameter value. Should I expect this to work? <resultMap id="ImageMapResultDeep" class="ImageMap" extends="ImageMapResultShallow"> <result property="TwoAndOneHalfXChildren" column="ParentImageID=ImageID,Magnification=2.5" select="JPPGetMappedImage" /> <result property="TwentyXChildren" column="ParentImageID=ImageID,Magnification=20" select="JPPGetMappedImage" /> <result property="FortyXChildren" column="ParentImageID=ImageID,Magnification=40" select="JPPGetMappedImage" /> </resultMap> |
Title: Composite Key parameter
- Composite Key parameter Luke Siler
- Re: Composite Key parameter Gilles Bayon
- FW: Composite Key parameter Luke Siler
- RE: Composite Key parameter Jeremy Gray
- RE: Composite Key parameter Jeremy Gray

