groupBy doesn't work for nested property
----------------------------------------

                 Key: IBATIS-593
                 URL: https://issues.apache.org/jira/browse/IBATIS-593
             Project: iBatis for Java
          Issue Type: Bug
          Components: SQL Maps
    Affects Versions: 2.3.4
         Environment: Windows Vista
            Reporter: Kengkaj Sathianpantarit


The following configuration doesn't work (iBATIS doesn't group result):
<resultMap class="SomeClass" id="someId" groupBy="organization.organizationId">
        <result property="organization" 
resultMap="Namespace.get-organization-result"/>
        ...
</resultMap>

But the following does work:
<resultMap class="SomeClass" id="someId" groupBy="organizationId">
        <result property="organizationId" column="o_organizationId"/>
        <result property="organization" 
resultMap="Namespace.get-organization-result"/>
        ...
</resultMap>

It seems that groupBy doesn't support nested property.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to