Add annotation to tell hibernate a property is generated.
Fix missing update of view after event is added.