I’ve posted a poll on what data should be stored in versions tables in Envers, see here and cast your vote:
The results will determine the future implementation, so votes really count. And as always, comments & ideas are very welcome.
The two options, in short, are:
- Store only historical data in the versions table, making queries poorer and more difficult (you always have to combine data from two sources – the versions and “current” tables)
- Store all data in the versions table, making queries easier and more powerful. This however duplicates the “current” data.