Entity versioning

Hello

Could you please clarify if it as possible in Cuba 7.2 and Jmix to save all versions of some entity, roll back to some previous version using API, compare versions?

Thanks.

Hi,

CUBA provides Entity Log and Entity Snapshots mechanisms.

In Jmix there is an add-on Audit that provides entity log and entity snapshot functionality. See doc.

Regards,
Gleb

Thank you for your answer.

How about rollback to a previous version? Does Cuba provide such functionality?

There is no built-in functionality to restore an entity state, but you can implement it using information Entity Snapshot.