Hi,

 

Is collection-descriptor can works with 3 fields in the order by clause?

 

Example:

  <collection-descriptor

    name="allContractEvents"

 
element-class-ref="com.steria.edcis.individual.contract.ContractEvent"

    orderby="PCONT_CPT , CNTEVT_DATE, CNTEVT_ID "

    sort="DESC,DESC,DESC"

  >

    <inverse-foreignkey field-ref="contractId"/>

    <query-customizer

                class="com.steria.db.QueryCustomizerEqualImpl">

                <attribute

                attribute-name="active"

                attribute-value="true"

      />

    </query-customizer>

  </collection-descriptor>

 

In my application it seems works only for the first element (pcont_cpt).
Is it normal?

I have db-ojb-1.0.rc6.

I apologise for my English.

Thank you all.

 

Reply via email to