| Well, the author of
HHH-1024 Open is a colleague of mine ^^ However, with this Jira we can have the list of audited entities, but when querying directly at the database one needs on top the column names. So
HHH-1024 Open is needed to figure out the list of entity types to consider, but it's not enough. In order to avoid fetching the metadata from the database itself, we should get the mapped fields' column names and then create our sql queries using these fields names. And then stuff like @Embedded (and most likely other corner cases) would come into play, making figuring out the audit tables' column names without a formal API pretty error prone. |