HHH-8683 Saving all enums and booleans of EntityEntry within a single int