OpenJPA EntityExistsException “already exists in this context; another cannot be persisted”, how to get an internal @idhex value?
I get an error object already exists
when calling em.persist(serviceInstance)
method. Object has several OneToMany(unidirectional)
child object links, and one of the ServiceInstance -> ServiceInstanceProperty
child object has this error.