Some questions about the handling of gaps in JPA event store

For anyone encountering this, I would recommend using the solution described here: Multitenancy: Dangerous AssociationValueEntry entity definition - #5 by Gabriel_Shanahan