ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kengkaj Sathianpantarit (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATIS-593) groupBy doesn't work for nested property
Date Wed, 22 Apr 2009 11:07:47 GMT
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"/>

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"/>

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.

View raw message