Title: Composite Key parameter
Just to reply to my own reply: the place
where I have used this is in creating discriminator column values on the fly
when using a single query with parameterized table names to support concrete table inheritance. Works
fantastically. I have yet to push
Title: Composite Key parameter
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
Title: Composite Key parameter
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="G
It's a documentation issue that have been fixed see JIRA IBATISNET-141.
You can check order.xml mapping for exemples.
It's supported by all 'statement' tag.
--
Cheers,
Gilles
http://www.amazon.com/gp/registry/6JCP7AORB0LE";>Wish List
Title: Composite Key parameter
Hi,
I'm trying to expand a 1:M collection property based on a composite key. The 1.3 Data Mapper Guide shows a sample of composite key parameter mapping as follows:
Example 3.44. Mapping a composite key
...
{itemId=ORD_ID, custId=ORD_C
5 matches
Mail list logo