One-to-many relations are audited with intersection table. You don't force to use intersection table with @AuditJoinTable but just rename it.
You can create database schema with SQL script (omit Environment.HBM2DDL_AUTO option), but it has to match what Envers expects. In the attached SQL script intersection table is missing.
Notice that expected database schema (generated by Envers) does not contain search_param_test_audit.search_id column, so it is obvious that nothing is going to be inserted there.
One-to-many relations are audited with intersection table. You don't force to use intersection table with @AuditJoinTable but just rename it.
You can create database schema with SQL script (omit Environment.HBM2DDL_AUTO option), but it has to match what Envers expects. In the attached SQL script intersection table is missing.
Notice that expected database schema (generated by Envers) does not contain search_param_test_audit.search_id column, so it is obvious that nothing is going to be inserted there.