implemented merge functionality.
using separate ID for SingleIdentity JPA entity