Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2 Can't reuse the same DTO with more than 1 collection

open
None
5
2011-08-23
2011-08-23
Yakov Fain
No

This is a Clear Data Builder issue (I was using CDB 4.5).

If you have more than one Java service (based on different SQL) returning the same DTO, CDB doesn't generate separate DataCollections, This forces you to create separate DTO object for each service even though they are the same.

The annotation CX_GenerateDataCollection allows to specify the name of the DataCollection to be generated, but this doesn't work id the service method returns known DTO.

The fix required: Change the code of CX_GenerateDataCollection to allow specify the name of the generated data collection regardless if a service method returns a DTO or something undefined, like List <?>

Discussion

  • Has this issue been fixed ?

    BR

    Martin