ExcelExport extracting all records for Entities with Composite Key

Hi Jmix Support team,

The current ExcelExport action in JMIX will have errors exporting all records for entities that have a composite key as their primary key. Although it was mentioned in the documentation that this would not support exporting entities that have a composite key, there was no proper solution given to this scenario.

Are there any plans in the future to enhance this function in order to overcome the current limitations of it, as entities that have composite key as the primary is quite common for our database table structure.

Best Regards,
Wei Jian.

1 Like

To add to this, there is a module.properties configuration:
jmix.gridexport.export-all-pagination-strategy=limit-offset

With this option, it doesn’t need to sort by primary key or remember the last primary key in the previous batch, only the limit (batch size) and current offset.

Why do we not allow composite key entities with this option ?

CK