Cross store, creating a new entity. How?
So I have a repository that extends GraphRepository. The Domain object is a cross store between SDN and SD JPA. I use partial = "true"
When I create a new domain object, I call the repository.save(domainObject) method and get
java.lang.IllegalStateException: Flushing detached entity without a persistent state, this had to be created first.
So I remember Michael saying that you have to save it first through JPA then you can save through SDN.
But how can you save through JPA without access to the entityManager in your repository, etc.
Thanks
Mark