Fixed 'exception is org.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations)' issue by adding fatch = FatchType.Lazy to Employee.historyRecords