Attempts to reference a non-shared transient object from a shared transient object raise exception 1289 (Shared transient objects cannot reference non-shared transient objects). This can occur as a result of explicit update or as a result of an automatic update. In such a case, you should:
Avoid establishing a relationship between the non-shared and shared transient objects.
Allow a reference to a shared transient object from a non-shared transient object without its inverse being maintained, by calling the